Consistent route announcements among redundant controllers in global network access point

ABSTRACT

Systems and methods are described to enable management of redundant route announcements in an access point including multiple packet processors. Route controllers are described that can generate routing information distributing incoming packets to the access point among the packet processors. The route controllers can operate redundantly, such that a failure of a single controller does not cause a complete failure of the access point. To avoid different announcements by different route controllers (particularly under partial failure scenarios), the route controllers utilize a strongly consistent data store to store routing information. So long as a record within the data store contains valid information, it is considered authoritative and routing information from the record is announced by all route controllers. If the information is invalid, the route controllers attempt to overwrite the information with new, higher priority routing information. A single write succeeds, resulting in new authoritative routing information.

BACKGROUND

Generally described, computing devices utilize a communication network, or a series of communication networks, to exchange data. Companies and organizations operate computer networks that interconnect a number of computing devices to support operations or provide services to third parties. The computing systems can be located in a single geographic location or located in multiple, distinct geographic locations (e.g., interconnected via private or public communication networks). Specifically, data centers or data processing centers, herein generally referred to as “data centers,” may include a number of interconnected computing systems to provide computing resources to users of the data center. The data centers may be private data centers operated on behalf of an organization or public data centers operated on behalf, or for the benefit of, the general public.

Because the resources of any individual computing device are limited, a variety of techniques are known to attempt to balance resource usage among devices. For example, a “load balancer” device may be placed between client devices requesting use of computing resources and servers providing such resources. The load balancer may attempt to distribute the requests among the servers, thus allowing the servers to work in conjunction to provide such resources. A significant drawback of use of such a load balancer is that it may create a single point of failure, such that if the load balancer fails, requests to the servers fail, and resources are made unavailable.

Another type of load balancing known in the art is domain name system (DNS) load balancing. DNS generally refers to a network of devices that operate to translate human-recognizable domain names into network address on a network, such as the Internet. To load balance using DNS, a DNS server is populated with network addresses of multiple computing devices offering a given resource. When responding to requests to resolve a domain name associated with that resource, the DNS server alternates which addresses are provided, thus causing requests for the resources to be divided among the provided addresses. Because the DNS server does not act as a conduit for traffic to the resources, and because DNS generally provides highly redundant operation, DNS load balancing generally avoids having a single point of failure. However, a significant drawback of DNS load balancing is the delay required to alter a load balancing scheme. DNS requests generally flow through a series of DNS resolvers, each of which may cache prior DNS results for a period. Thus, changes made at a DNS server in an attempt to alter how load is balanced among servers can take significant time to propagate. Particularly in instances where a server has failed, these delays can cause significant errors in network communications. Moreover, maintaining up-to-date DNS records can be difficult, as they generally must be modified as new devices are added to or removed from a load balancing scheme.

Yet another type of load balancing known in the art is the use of “anycast” network addresses. In a network, such as the Internet, different autonomous systems (“AS”) provide devices with different network addresses. Each AS notifies it's neighboring AS's of addresses available within its network, by “advertising” the addresses. Most typically, each address is associated with a single location (e.g., a single device or group of devices). In an anycast configuration, multiple devices, often in multiple AS's, advertise the same network address. Depending on the configuration of neighboring AS's, client requests to access the address can then be routed to any of the multiple device, distributing load among the devices. A significant drawback of the use of anycast to attempt to load balance is that routing to the anycasted address is generally controlled by neighboring networks. These networks are often under control of other entities. Thus, it is difficult or impossible to completely control how requests are distributed among devices with an anycasted network address. Moreover, when the configuration of neighboring networks changes, the distribution of requests may also change, leading to volatility in the load balancing scheme.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram depicting an illustrative logical network including multiple client devices and data centers, as well as a set of global access points providing load-balanced access to the data centers from a set of global network addresses.

FIG. 2 is a block diagram depicting an illustrative configuration of a data center of FIG. 1.

FIG. 3 is a block diagram depicting an illustrative configuration of a global access point of FIG. 1.

FIG. 4 is a block diagram depicting an illustrative configuration of a flow manager server implementing one or more flow managers within a global access point of FIG. 1.

FIG. 5 depicts illustrative interactions for routing a request from a client device addressed to a global network address to a global access point of FIG. 1.

FIG. 6 depicts illustrative interactions for routing a request from a global access point to a data center of FIG. 1, based at least partly on load-balancing requests among the data centers.

FIG. 7 depicts illustrative interactions for propagating endpoint information from a data center to global access points of FIG. 1, such that the access points may correctly route traffic from client devices addressed to global network addresses.

FIG. 8 depicts an illustrative routine for increasing resiliency of global network addresses, by selecting different neighboring devices to which to advertise different global network addresses from access points of FIG. 1.

FIG. 9 depicts an illustrative routine for routing traffic addressed to a global network address associated with a service provided by endpoints within data centers, by use of the access points of FIG. 1.

FIG. 10 depicts an illustrative routine for updating information at the global access points of FIG. 1 regarding endpoints of a data center that provide a network-accessible service.

FIG. 11 depicts illustrative interactions for establishing a Transmission Control Protocol (TCP) session at a global access point of FIG. 1, and handing off the TCP session to an endpoint to enable communication of a client device and the endpoint via the TCP session.

FIG. 12 depicts an illustrative routine for establishing a Transmission Control Protocol (TCP) session at a global access point of FIG. 1, and handing off the TCP session to an endpoint to enable communication of a client device and the endpoint via the TCP session.

FIG. 13 depicts an embodiment of a global access point of FIG. 1 utilizing redundant route controllers to assign flow managers to global network addresses, and control routing of data packets to flow managers according to those assignments.

FIG. 14 depicts illustrative interactions for utilizing a consistent data store to implement designated routes within a global access point of FIG. 13, to avoid implementation of inconsistent routing between flow managers of that access point.

FIG. 15 depicts illustrative interactions for handling failure of a designated route controller within a global access point of FIG. 13.

FIG. 16 depicts an illustrative routine for operation of a lead route controller within a global access point of FIG. 13.

FIG. 17 depicts an illustrative routine for operation of a follower route controller within a global access point of FIG. 13.

DETAILED DESCRIPTION

Generally described, aspects of the present disclosure relate to providing load-balanced access to a pool of computing devices spread across multiple geographic locations, using one or more global network address. More specifically, aspects of the present disclosure relate to providing a distributed set of access points reachable via global network addresses, which access points select and route requests to endpoint devices within the pool based at least partly on load balancing the requests. In one embodiment, the access points utilize anycast routing techniques to advertise availability of global network addresses associated with the pool of computing devices, thereby attracting traffic addressed to those addresses. On receiving a request to access the pool, an access point may select an appropriate endpoint within the pool based on factors such as network performance criteria to the endpoint and load on the endpoint. The access point may then act as a proxy, routing the request to the endpoint and facilitating further communications between the endpoint and a requesting device. The access point may implement a variety of techniques, as disclosed herein, to provide resilient, efficient access to the pool of endpoint devices. As disclosed herein, the access points may be distributed among a wide geographic area, thus eliminating single points of failure within the system. Moreover, by utilizing anycast advertisements, the access points may distribute requests among the pool even when the requests are addressed to a single network address, avoiding complications and delays associated with other techniques, such as DNS-based load balancing. By acting as a proxy between clients and the pool of devices, rather than serving resources directly, the access points may control distribution of requests to the pool independently of how external devices choose to route the requests to the anycasted address, thus avoiding detriments associated with traditional anycast networking. Thus, embodiments disclosed herein significantly improve on prior load balancing techniques.

Embodiments of the present disclosure may illustratively be implemented in a wide geographic area. In one embodiment, the present disclosure is implemented on the worldwide Internet, and provides global internet protocol (IP) addresses, such as IP version 4 (IPv4) or IP version 6 (IPv6) addresses. Different data centers may exist in different geographic locations, and each data center may include one or more endpoint devices providing access to a network-based service. Examples of such services include, but are not limited to, web hosting, data storage, on-demand compute services, and the like. The resources at each data center may be limited, and thus an operator of the network-based service may wish to distribute load among such services. To simplify operation of the network-based service (e.g., avoiding the complications related to DNS-based load balancing), it may be desirable to provide the operator with a single set of relatively static network addresses for the service, which network addresses are manageable independently of the individual endpoints providing access to the service. Such network addresses are generally referred to herein as “global” network addresses. As used herein, the term “global” is intended to refer to the scope of the network address with relation to the service (e.g., that the network address applies to the entire service, rather than individual devices), and does not necessarily imply that such a network address is accessible worldwide. Nevertheless, embodiments of the present disclosure may be implemented to provide global network addresses that are generally accessible from a worldwide network, such as the Internet.

To provide global network addresses for a service, a system is disclosed that provides a set of geographically distributed global access points. Similarly to as noted above, the term “global” access point in this context is generally intended to refer to the access point providing access to the service generally, as opposed to individual endpoints, and does not necessarily imply that such access points exist worldwide (though such a configuration is possible). Generally, however, the access points are geographically distributed. In one embodiment, the global access points are located in geographic locations different and more numerous than those of the data centers providing endpoints for the service, decreasing the average network distance between the global access points and client devices attempting to access the service.

Each global access point may utilize anycast techniques to advertise the availability of the service via the one or more global network addresses associated with the service. Illustratively, each access point may utilize Border Gateway Protocol (“BGP”) to advertise the global network addresses, by include a BGP “speaker” to announce availability of the global network address to neighboring networks. The global access point may thus attract traffic address to the global network addresses. As disclosed in more detail below, the global access points may in some instances “shape” BGP announcements to increase resiliency of a network-based service to network interruptions. For example, the global access points may divide their announced global network addresses into two groups, and assign a service at least one network address from each group. The global access points may then announce each group of addresses to a different neighboring network. In this manner, each access point can effectively create two paths to reach the point: through a first neighbor using an address of the first group, or through a second neighbor using an address of a second group. Thus, if one neighboring network fails in some way, an alternative path to reach the access point exists. Moreover, because each access point may operate in this manner, if one access point fails entirely, traffic may be automatically routed to another access point via traditional anycast routing mechanisms. While examples are provided herein related to two groups, any number of groups may be provided.

To provide even further resiliency, each access point may in some instances segregate traffic according to a specific subset of the advertised global network addresses, and utilize different devices or program threads to process traffic addressed to each subset. In this way, if traffic of one subset is problematic to operation of the access point (e.g., due to misconfiguration related to a global network address of the subset), operation of a device or thread handling traffic of another subset is unlikely to be effected. In one embodiment, the access point uses a combination of different network address groups, and segregated processing of subsets of each network group. Moreover, services may be “shuffled” among the subsets of each group, such that if two services are assigned network addresses within a common subset of one group, the two services are likely to be assigned network addresses within different subsets of a second group. Under this configuration, if a specific service's configuration causes issues to operation of an access point with respect to a subset of one group, other services would likely still be reachable via an alternative group (where their addresses are unlikely to be on the same subset as the problematic service). By increasing the number of address groups and subsets, the total number of services effected by a problematic service can be progressively decreased.

After receiving a request to access a service, a global access point can be configured to route the traffic to an appropriate endpoint within a data center providing the service. To do so, the access point may be required to be aware of a network address of the endpoint. In one embodiment, each data center is configured with a resource manager device that maintains a listing of endpoints providing access to a service. The resource manager may information the access points of the endpoints, including network address information for the endpoints. Thus, on receiving a request to access a service, each access point may be configured to select an available endpoint for the service and to route the request to that endpoint. As will be discussed below, the endpoint may be selected based on a combination of criteria, including but not limited to network performance criteria to the endpoint (e.g., in terms of latency) and desired load balancing across endpoint.

In one embodiment, to route traffic to an endpoint, each access point is configured to utilize network address translation (“NAT”). NAT techniques are known within the art, and thus will not be described in detail herein. However, in general, NAT techniques enable a device to act as a middle-man between two devices, while rewriting aspects of each data packet, such as a source and destination network address, to facilitate communications between the devices. In accordance with embodiments of the present disclosure, each access point may operate to replace a source network address of a requesting device with its own network address (e.g., a unicast network address uniquely identifying the global access point), and to replace the destination network address (e.g., the global network address of a service) with a network address of an endpoint providing that service. The access point may then route the packet to the endpoint, receive a response from the endpoint (if any), perform a reverse translation of source and destination (e.g., replacing the source of the response with the global network address and the destination of the response with the network address of the requesting device), and return the packet to the requesting device. In one embodiment, the access point may utilize port translation (known in the art) to facilitate distinction of traffic flows (series of interrelated packets) when utilizing NAT, to ensure correct translation of addresses when handling traffic from multiple requesting devices.

Beneficially, the use of NAT enables the access point to forward traffic received from a client device to an endpoint, with minimal interference to a connection between the client device and endpoint. For example, by utilization of NAT, an access point is not required to act as a “termination” point for a certain network protocols, such as the Transmission Control Protocol (TCP). Alternative routing techniques may, for example, cause an access point to accept a TCP connection from a client device, and initialize a second TCP connection to an endpoint. Maintaining multiple such connections (and correspondences between them) may significantly increase the resource usage of an access point, reducing its capacity to route traffic addressed to global network addresses. Thus, use of NAT can provide benefits over such techniques.

Moreover, the use of NAT at an access point enables traffic to be directed to a global network address different from any address utilized by an endpoint, thus preventing disclosure of the address actually utilized by the endpoint. As such, the endpoint may be protected from receiving traffic directly. This is turn may reduce or eliminate the vulnerability of the endpoint to network attacks, such as denial of service (DoS) attacks. In this manner, the global access points can provide benefits similar to those provided by traditional content delivery networks (CDNs). However, unlike CDNs, the access points need not replicate the functionality of service (e.g., by implementing a web server at each point of presence within the CDN). Rather, the access points of the present disclosure can enable traffic to flow through the access point, enabling packets of a requesting device to reach an endpoint providing the service. For this reason among others, the global access points disclosed herein may provide a greater range of functionality than CDNs, enabling load balancing and distribution among any number of different network-based services.

In another embodiment, to route traffic to an endpoint, each access point is configured to utilize encapsulation. Encapsulation is a known networking technique, and thus will not be described in detail herein. However, in general encapsulation can be utilized to add additional information (frequently in the form of a header, and sometimes also in the form of a trailer) to a data packet, thus “wrapping” or encapsulating the data packet to result in an encapsulated data packet. In the context of the present disclosure, encapsulation may be utilized to provide a “network tunnel” between each access point and endpoint. Specifically, when a packet is received at an access point from a client device and addressed to a network address of a service provided by an endpoint, the access point may encapsulate the packet with additional information enabling the packet to be routed to a selected endpoint, such as a network address of the endpoint. The encapsulated packet may then be routed to the endpoint over a physical network. The endpoint may “decapsulate” the encapsulated packet to remove the additional information, and process the decapsulated packet as if it were received directly from the client device.

In one embodiment, the endpoint may respond directly to the client device, via a physical network connecting the endpoint to the client device. In another embodiment, the endpoint may respond to the client device by encapsulating a response packet, and transmitting the encapsulated response packet back to the access point. The access point may in turn decapsulate the response packet and return the response packet to the client. Direct return of responses from an endpoint to a client device may beneficially reduce workload of an access point, and may also reduce traffic on a physical network connecting the access point to the endpoint. However, direct return of responses may be required to utilize a physical network connecting the endpoint to the client device, which may not be as robust as the physical network connecting the access point to the endpoint. For example, where the endpoint and access point are connected via a private network, while the access point, endpoint, and client device are connected via a public network (such as the Internet), return of responses through the access point (rather than direct return) may be preferable, as it may be preferable to minimize the total distance traveled on the public network (e.g., where the access point is located closer to the client device than the endpoint).

In general, encapsulation of packets between access points and endpoints may increase the computational resource usage of access points and endpoints, as compared to use of NAT to route packets from access points to endpoints. However, encapsulation may also provide benefits over a NAT implementation. For example, encapsulation may provide for resiliency of TCP session in the event that packets of a client device are routed to different global access points during the TCP session. Such routing may occur, for example, based on operation of networks between the client device and the different access points, due to potential changes in how the networks process anycast advertisements of the different access points. Where an access point utilizes NAT to route packets to an endpoint, each access point may maintain NAT information independently. Thus, if client device packets are routed to a different access point, that second access point may not have sufficient information to gracefully take over communications of the client (e.g., the transformed packets of the second access point may not be identical to what would have been generated at the initial access point). This may result in the TCP session of the client device and the endpoint being broken, requiring that the client device reestablish the TCP connection.

In contrast, encapsulation can enable graceful handling of rerouting of client requests between access points. Under either NAT or encapsulation implementations, each access point may be configured to select an endpoint in a consistent manner (e.g., applying the same selection algorithm). Thus, client device packets would be expected to be routed to the same endpoint, regardless of the access point to which they were sent initially. Moreover, by utilizing encapsulation, no data of the initial client device's packets need be changed when routing the packets to the endpoint. Rather, that data can be encapsulated (e.g., with additional information enabling routing to the endpoint), and regained at the endpoint after decapsulation. For this reason, even if client packets are routed to different access points, the final data available to the endpoint after decapsulation can be the same, enabling the endpoint to maintain a TCP session with the client device even when data flows through different access points.

In some embodiments, to further improve performance in implementations that utilize encapsulation, each access point can be configured to assist endpoints in establishing connection-oriented communication sessions, such as TCP sessions, with client devices. Connection-oriented communication sessions generally require a session initialization phase, where the two parties to the session communicate to establish mutual understanding of communication state. TCP sessions, for example, utilize a “three-way handshake.” The TCP three-way handshake is known in the art and thus will not be described in detail herein. However, in brief, a TCP session is established when a first party sends a synchronize (“SYN”) packet to a second party (including a first party sequence number to be used during the session), the second party responds with a synchronize-acknowledge (“SYN-ACK”) packet (acknowledging the first party sequence number and including a second party sequence number), and the first party responds to the SYN-ACK packet with an acknowledgement (“ACK”) packet (acknowledging the second party sequence number). Because the three-way handshake requires three separate communications between the parties, increases in latency between the parties during the handshake are magnified three-fold. In the context of the present disclosure, for example, if communications between a client device and endpoint incur a 100 millisecond (ms) latency, the three-way handshake can be expected to take at least 300 milliseconds. Since such a handshake is required prior to transmission of data over a TCP session, it is beneficial to reduce the time required to initialize the TCP session.

Accordingly, in embodiments of the present disclosure, each global access point may be configured to conduct a TCP three-way handshake with a client device, and then to “hand off” the TCP connection to an endpoint. Specifically, each access point may be configured to “listen” for incoming SYN packets from client devices, and to respond to such packets by conducting the TCP three-way handshake. After the handshake is completed, the access point may transfer TCP session information (e.g., the first and second party sequence numbers of the TCP session) to an endpoint selected to provide a requested service to the client device. On receiving the TCP session information, the endpoint may “adopt” the TCP session, and process client device data packets as if the TCP session had been established between the client device and the endpoint. Because the access point can be assumed to be “closer” to the client device in terms of latency, the time required to establish the TCP session is reduced, without interfering with the ability of the client device and the endpoint to communicate via a common TCP session. While examples are provided herein with respect to TCP handshakes, statefully communication sessions each generally require an initialization phase. Embodiments described herein may be utilized to conduct such an initialization phase at an access point, while handing off context for the connection-oriented communication session to an endpoint to enable a client device and the endpoint to communicate via the connection-oriented communication session.

As discussed in more detail below, a global access point may be implemented by a number of redundant computing devices, such that a failure of a single (or potentially multiple) devices does not cause a failure in operation of the global access point. Furthermore, the global access point may implement consistency protocols to ensure that failures within the access point do not unnecessarily alter operation of the access point, such that flows of network traffic are “broken” or rerouted.

As will be appreciated by one of skill in the art in light of the present disclosure, the embodiments disclosed herein improves the ability of computing systems to provide network-accessible services. Specifically, embodiments of the present disclosure improve on prior load balancing techniques, by providing scalable, resilient, and responsive load-balancing across a common network address, improving on known load balancing techniques. Moreover, the presently disclosed embodiments address technical problems inherent within computing systems; specifically, the limited nature of computing resources with which to provide network-accessible services and the difficulties of load-balancing requests to such services in a scalable, resilient, and responsive manner. These technical problems are addressed by the various technical solutions described herein, including the use of a distributed set of access points associated with a common network address, each configured to receive requests for a service, and to route the requests to endpoints of the service based at least partly on load-balancing the requests among the endpoints. Thus, the present disclosure represents an improvement on existing network load-balancing systems and computing systems in general.

The foregoing aspects and many of the attendant advantages of this disclosure will become more readily appreciated as the same become better understood by reference to the following description, when taken in conjunction with the accompanying drawings. To facilitate description, the general configuration, operation, and management of global access points will first be discussed, before a detailed description of particular advantages of the present disclosure related to managing redundancy within a global access point with respect to establishing network routes of the access point.

Configuration, Operation, and Management of Global Access Points

FIG. 1 is a block diagram depicting an illustrative logical environment 100 including multiple client devices 102 in communication with a set of global access points 106A-N via a first network 104, which global access points 106A-N are in communication with a set of data centers 110A-N via a second network 108. While the client devices 102, global access points 106 and data centers 110 are within FIG. 1 in groups, the client devices 102, global access points 106 and data centers 110 may be geographically distant, and independently owned or operated. For example, the client devices 102 could represent a multitude of users in various global, continental, or regional locations accessing network-accessible services provided by the data centers 110, which data centers may further be distributed among various global, continental, or regional locations. The global access points 106 may similarly be distributed. In one embodiment, the data centers 110 represent devices in locations under control of a single entity, such as a “cloud computing” provider, while the global access points 106 represent devices in co-tenanted locations, such as network “points of presence” or Internet Exchange Points (IXPs). The global access points 106 may generally be more numerous than the data centers 110 and in distinct physical locations. However, in other embodiments, one or more of the access points 106 may be located within one or more data centers 110. Accordingly, the groupings of client devices 102, access points 106, and data centers 110 within FIG. 1 is intended to represent a logical, rather than physical, grouping.

The networks 104 and 108 may be any wired networks, wireless networks or combination thereof. In addition, the networks 104 and 108 may be a personal area network, local area network, wide area network, cable network, satellite network, cellular telephone network, or combination thereof. In the example environment of FIG. 1, network 104 is a global area network (GAN), such as the Internet, while the network 108 is a private network dedicated to traffic associated with an entity providing the data centers 110 and access points 106. Protocols and components for communicating via the other aforementioned types of communication networks are well known to those skilled in the art of computer communications and thus, need not be described in more detail herein.

While each of the client devices 102 and access points 106 are depicted as having a single connection to the network 104, individual components of the client devices 102 and access points 106 may be connected to the network 104 at disparate points (e.g., through different neighboring networks within the network 104). In some embodiments, the data centers 110 may additionally or alternative be connected to the network 104. Similarly, while each of the access points 106 and data centers 110 are depicted as having a single connection to the network 108, individual components of the access points 106 and data centers 110 may be connected to the network 108 at disparate points. Accordingly, communication times and capabilities may vary between the components of FIG. 1. The network configuration of FIG. 1 is intended to be illustrative of a communication path in embodiments of the present disclosure, and not necessarily to depict all possible communications paths.

Client devices 102 may include any number of different computing devices capable of communicating with the global access points 106. For example, individual client devices 102 may correspond to a laptop or tablet computer, personal computer, wearable computer, server, personal digital assistant (PDA), hybrid PDA/mobile phone, mobile phone, electronic book reader, set-top box, camera, digital media player, and the like. In some instances, client devices 102 are operated by end users. In other instance, client devices 102 themselves provide network-accessible services, which interact with the global access points 106 to access other network-accessible services.

The data centers 110 of FIG. 1 illustratively include endpoint computing devices providing one or more network-accessible services on behalf of one or more service providers. Illustratively, the data centers 110 may be operated by a “cloud computing” provider, which makes host computing devices within the data center available to service providers for providing their services. The cloud computing providing may generally manage operation of the data center, while providing various mechanisms for the server providers to configure their respective endpoints. One illustrative configuration of a data center 110 is provided below with respect to FIG. 2.

In accordance with embodiments of the present disclosure, the cloud computing provider may enable service providers to associate their endpoints with one or more global network addresses, which are addressable on the network 104 to interact with the data centers 110 in a load-balanced manner. The cloud computing provider may further enable the service providers to specify how such load-balancing should occur, such as by specifying a percentage of requests to be routed to each data center 110. The cloud computing provider may further enable the service providers to alter the configuration of endpoints independently of the global network addresses, such that altering the specific endpoints providing a service does not require reconfiguration of the network addresses. Use of global network addresses may significantly simplify operation of network services, since any client device 102 wishing to connect to the service may simply transmit a request to a global network address of the service. Alterations to the endpoints providing the service may then be made without the need to alter DNS records for the service, for example. As will be described below, in some instances these alterations may be made automatically, such that no user action is needed even as endpoints for the service change within the data centers 110.

To facilitate global network addresses, a set of global access points 106A-N are provided. Each access point may generally include one or more computing devices configured to obtain requests from client devices 102 to interact with services, and to route such requests to an endpoint within a data center 110 selected based at least partly on load-balancing requests across the data centers 110. Access points 106 may further act as a type of proxy for the endpoints, enabling traffic between client devices 102 and data centers 110 to flow across the access points 106. Operation of access points 106 is discussed in more detail below. However, in brief, the may utilize anycast techniques to broadcast availability of global network addresses to neighboring network devices within the network 104, which in one embodiment includes devices not under the control of a common entity as provides the access points 106A. The access points 106 may thus attract traffic addressed to the global network addresses. The access points 106 may thereafter select an endpoint to which to direct the traffic, based on factors such as availability of endpoints, load-balancing across data centers 110, and performance criteria between the access point 106 and the various data centers 110.

After selecting a data center 110, an access point 106 can route the request to the endpoint. In one embodiment, the access point 106 uses NAT translation or encapsulation to redirect the request to the endpoint over the network 108, preventing disclosure of a network address of the endpoint to the client devices 102. Where connection-oriented communication sessions are utilized between client devices 102 and an endpoint, the access point 106 may operate to conduct an initialization phase of the communication session on behalf of the endpoint, in accordance with the present embodiments. In instances where the network 108 is a private network, the global access points 106 may further function as an “offloading” point for traffic to the endpoints, moving that traffic from a public network (e.g., network 104) to the private network 108. Generally, such a private network would be expected to have greater performance than a public network, and thus such offloading may further increase the speed of communication between client devices 102 and endpoints.

As noted above, the access points 106 may implement a variety of techniques to ensure resiliency of a network service using a global network address. Illustratively, the use of anycast to advertise access points 106 may provide resiliency between access points 106, as the failure of an individual access point 106 can generally be expected to cause devices of the network 104 to route requests to another access point 106. Moreover, to address potential failures of the network 104, each access point 106 can be configured to control its announcement of global network addresses on the network 104, providing multiple routing paths for each service to the access point 106. Additional details regarding such control of announcements to provide routing paths is provided below. Still further, to address potential failures within an access point 106, each access point 106 may be configured to include multiple flow managers, handling different traffic flows addressed to global network addresses. The flow managers may be distributed logically, such as across program threads, and/or physically, such as across processors or computing devices. Thus, failure of one flow manager may have little or no impact on other flow managers within an access point 106, limiting impact of partial failures within an access point 106. One illustrative configuration of an access point 106 is discussed below with reference to FIG. 4.

FIG. 2 is a block diagram depicting an illustrative configuration of a data center 110 of FIG. 1. As shown in FIG. 2, the data center 110 includes an endpoint pool 201 containing a set of endpoints 202A-N. Each endpoint 202 illustratively represents a computing device configured to provide access to a network-accessible service. In one embodiment, endpoints 202 are individual physical computing devices. In another embodiment, endpoints 202 are virtualized computing devices executing on physical computing devices. In yet another embodiment, endpoints 202 are collections of computing devices (physical or virtualized) collectively configured to provide access to a network-accessible service. For example, each endpoint 202 may be a collection of devices being a load balancer device configured to load balance requests to the endpoint 202 among the collection of devices. Each endpoint 202 is in communication with the network 108, and thus addressable on the network 108. The number of endpoints 202 may vary, for example, depending on the capacity requirements of the network-accessible service. Illustratively, a service provider for such service may contract with an operator of the data center 110 (e.g., a cloud computing provider) to generate and provision the endpoints 202.

In one embodiment, the number of endpoints 202 may vary according to a present or historical demand for the network-accessible service. To facilitate a varying number of endpoints 202, the data center may include a resource manager 206 (e.g., implemented directly on a physical computing device or as a virtualized device on a host physical computing device) that monitors load of the endpoints 202 (e.g., with respect to requests per second, computing resource usage, response time, etc.), and dynamically adjusts the number of endpoints 202 to maintain load within threshold values. For example, where the endpoints 202 are implemented as virtualized devices, the resource manager 206 may generate and provision new virtualized devices when a current set of endpoints 202 have usage metrics that exceed desired upper usage parameters, and “spin-down” and remove virtualized devices when metrics fall below lower usage parameters. The resource manager 206 may further be configured, on modifying a number of endpoints 202 within the pool 201, to notify the global access points 106 of network address information for endpoints 202 within the pool 201, such that the access points 106 may address traffic to the endpoints 202.

In addition, the data center 110 of FIG. 2 includes a health check device 204, configured to monitor the health of endpoints 202 within the pool 201. Illustratively, the health check device 204 may periodically (e.g., every n seconds) transmit a request to the endpoints 202, and monitor for whether an appropriate response is received. If so, the health check device 204 may consider the endpoint 202 healthy. If not, the health check device 204 may consider the endpoint 202 unhealthy. The health check device 204 may illustratively notify the global access points 106 of unhealthy endpoints 202 to cause the access points 106 to reduce or eliminate routing of traffic to the endpoint 202 while the endpoint 202 is unhealthy. In some instances, the health check device 204 may further be configured to check the health of the global access points 106, the health of endpoints 202 in other data centers 110, or the health of a network path between the health check device 204 and the access points 106. For example, the health check device 204 may periodically transmit information to the access point 106, and monitor a response from the access point 106, network metrics regarding the response (e.g., latency), or the like. The health check device 204 may report this information to the access points 106 to facilitate routing of traffic to endpoints 202A within the data center 110. Illustratively, the health check device 204 may report health information for endpoints 202 to the configuration data store 210 (e.g., a database on the data store 210), which may be propagated to the access points 106 by operation of the configuration manager 208 in the manner described below (e.g., as part of a configuration package or parcel).

The data center 110 of FIG. 2 further includes a configuration manager 208, configured to enable service providers to configure operation of the data centers 110 and global access points 106. Illustratively, the configuration manager 208 may provide an interface through which users may specify endpoints 202 that provide a network-accessible service, configure those endpoints 202 and configure the resource manager 206 to scale up or down endpoints. The configuration manager 208 may further enable service providers to assign global network address to those endpoints, and to specify load-balancing parameters for routing traffic addressed to global network address to various data centers 110. The configurations created by service providers may be stored within a configuration data store 210, which can corresponds to any persistent or substantially persistent storage device (e.g., hard disk drives, solid state drives, network-attached storage devices, etc.). In some instances, the configuration data store 210 may include multiple representations of a configuration of a service provider. For example, to facilitate rapid reconfiguration of global access points 106, the configuration data store 210 may include a database (such as a relational database) that is modified each time a service provider commits a change to their configuration. The configuration manager 208 may periodically (e.g., each 100 milliseconds, 1 second, 2 seconds, 5 seconds, 30 seconds, etc.) determine whether changes have been made to the database, and if so, generate a new configuration package for the global access points 106, which configuration package encompasses the changes to the database (and thus, service provider's configuration) relative to a prior configuration package. The configuration manager 208 may then store the configuration package into the configuration data store 210 for retrieval by the global access points 106. In one embodiment, each global access point 106 is configured to periodically (e.g., each 100 milliseconds, 1 second, 2 seconds, 5 seconds, 30 seconds, etc.) poll the configuration data store 210 to determine whether a new configuration package exists, and if so, to retrieve and implement the package. In some instances, a configuration package may be divided into package “parcels,” representing a portion of the configuration. Global access points 106 may be configured to retrieve only those parcels modified with respect to an existing parcel. Modifications may be tracked, for example, based on versioning of parcels or a package. Still further, in some embodiments, packages or parcels may be stored in the data store 210 as differences or “deltas” from a prior version, such that an access point 106 may retrieve only changes since a prior version of the parcel, reducing the data transfer required to update a package or parcel. In one embodiment, the configuration manager 208 may periodically (e.g., each 100 milliseconds, 500 milliseconds, etc.) “checkpoint” packages or parcels, by collecting all changes since a prior checkpoint and storing the package or parcel as a standalone version. Such checkpointing may facilitate rapid reconfiguration in the instance that a global access point 106 has no frame of reference of a prior package or parcel.

In one embodiment, only one data center 110 of the data centers 110A-N of FIG. 1 includes the configuration manager 208, which manager 208 propagates each service provider's configuration to the other data centers 110 and access points 106. In another embodiment, each data center 110 includes a configuration manager 208, and the managers 208 of each data center 110 may communicate to synchronize configurations between the data centers 110 and with the access points 106.

While only some components of the data center 110 are shown as in communication with the network 108, other components may additionally be in communication with the network 108 and/or the network 104. The lines of FIG. 2 are not intended to represent all actual or potential network connections, but rather to illustrate a possible flow of service-related traffic to endpoints 202.

Moreover, while shown within a data center 110, in one embodiment, global access points 106 may also include a configuration manager 208, enabling configuration of the access point 106 directly. In another embodiment, the global access points 106 exclude any configuration manager 208 and data store 210. For example, where access points 106 are implemented at co-tenanted environments (e.g., not operated by or accessible to parties other than an operator of the access points 106), the access points 106 may be configured to exclude any persistent storage, and to instead retrieve configuration information from a data center 110 on initialization of the access point 106. In this manner, security of the access points 106 may be increased, as powering down the access point 106 would be expected to result in loss of any sensitive data that may reside on the access point 106.

While the data center 110 is shown as including one endpoint pool 201, corresponding to one network-accessible service, the data center 110 may host numerous pool 201, each corresponding to a different service. Thus, multiple service providers may utilize a data center 110. Moreover, as noted above, each network-accessible service may be provided by endpoints 202 across multiple data centers 110. Accordingly, the global access points of FIG. 1 may distribute traffic to such a service across the data centers 110.

In accordance with embodiments of the present disclosure, the data center 110 further includes a session handoff manager 212, configured to facilitate adoption of connection-oriented communication sessions with clients 102 initialized at a global access point 106. As discussed above, global access points 106 may in some instances be configured to complete an initialization phase of a connection-oriented communication session, such as the TCP three-way handshake, and to thereafter hand off the communication session to an endpoint 202. In some instances, an endpoint 202 may be configured to accept such a hand off, by receiving context of the connection-oriented communication session (e.g., sequence numbers of both ends of the connection) and generating local state information incorporating that context. The endpoint 202 may be so configured, for example, by modification of networking protocol handlers within an operating system of an endpoint 202 (e.g., by modification of a kernel to accept and adopt TCP context information from a global access point 106). However, it may be preferable that endpoints 202 are not required to be so configured, in order to enable a wide variety of endpoints 202 to utilize global access points 106. To enable this, the data center 110 may also include a session handoff manager 212, which is configured to accept and adopt a connection-oriented communication session from a global access point 106. The session handoff manager 212 may then establish a separate connection-oriented communication session with the endpoint 202 selected by the access point 106 to provide a client device 102 with a service, and operate as a “middle man” between the two sessions. Because the session handoff manager 212 and the endpoint 202 can generally be co-housed within the data center 110, creation of a second connection-oriented communication session can be expected to inject minimal delay into communications between the client device 102 and the endpoint 202.

FIG. 3 is a block diagram depicting an illustrative configuration of a global access point of FIG. 1. As shown in in FIG. 3, each global access point 106 is in communication with the network 104 via a router 302. While only a single router 302 is shown in FIG. 2, access points 106 may include multiple routers 302. Moreover, while a single connection to the network 104 is shown, each router 302 may include multiple connections to the network 104, potentially to multiple different neighboring devices within the network 104, each of which may correspond to different sub-networks (e.g., autonomous systems (AS's) within the network 104).

As noted above, global access points 106 may be configured to utilize anycast techniques to attract traffic to global network addresses associated with network-accessible services. As such, the router 302 is illustratively configured to advertise the global network addresses to neighboring devices on the network 104. In one embodiment, such advertisements are BGP advertisements. Such advertisements can cause the router 302 to attract traffic addressed to the global network addresses, as the advertisements can cause devices on the network 104 to route traffic addressed the addresses to the router 302, in accordance with operation of anycast techniques.

As discussed above, the global access point 106 may implement a variety of techniques to increase resiliency of the access point 106. In one embodiment, the global network addresses advertised by the access point 106 are divided into multiple address groups. To decrease the potential effects of failures on the network 104, the router 302 (or multiple routers 302) can be configured to transmit BGP announcements for each address group to different neighboring devices on the network 104 (e.g., different AS's). A network-accessible service may be associated with addresses from multiple address groups, each of which may be provided to client devices 102 as an address at which to access the service. Because address from different groups are advertised differently on the network 104, different routing paths can be expected on the network 104 for addresses of each group. For example, packets addressed to addresses within a first group may reach the router 302 over a first AS of the network 104, while packets addressed to addresses within a second group may reach the router 302 over a second AS. Thus, if a failure were to occur within the first AS (or a downstream AS connected to the first AS), packets addressed to addresses within the second group may be expected to still reach the router 302, and vice versa. As such, dividing global network addresses into multiple groups can increase resiliency of the access points 106 to failures within the network 104.

On receiving a packet addressed to a global network address, the router 302 may route the packet to a flow manager 304, from a set of flow managers 304A-N. While an access point 106 may implement a single flow manager 304, it may be beneficial for an access point to implement multiple flow managers 304 to provide redundant operation of such flow managers 304. The router 302 may use any number of known load-balancing techniques to distribute packets to the flow managers 304, such as round robin selection. In one embodiment, the router 302 utilizes consistent hashing to distribute packets. Consistent hashing is known in the art and will thus not be described in detail herein. Consistent hashing may be beneficial, for example, in increasing the changes that multiple packets with the same characteristics (e.g., source network address, source network port, destination network address, destination network port, protocol) are routed to the same flow manager 304. This may beneficially enable the flow managers 304 to maintain state information regarding flows of packets between a client device 102 and a destination endpoint 202. In some instances, such state information may be required, for example, to implement NAT techniques, or to conduct an initialization phase of a connection-oriented communication session. In another embodiment equal-cost multi-path (ECMP) load balancing is used to route traffic to the flow managers 304A-N. ECMP load balancing is known in the art and thus will not be described in detail herein.

In one embodiment, ECMP load balancing is applied to route packets to the flow managers 304A based on a global network address to which the packet is addressed. Illustratively, each flow manager may handle packets addressed to a subset of addresses within a group of global network addresses. For example, a first flow manager 304 may preferably handle a first quartile of addresses within a group, a second manager 304 may preferably handle a second quartile, etc. By dividing network addresses within a group among different flow managers 304, the access point 106 may for example decrease the portion of services that are adversely effected by improper operation of a flow manager 304, such as due to a misconfiguration of a service associated with an address handled by that flow manager 304. Where multiple groups of global network addresses are used, services may be “shuffled” between different groups, such that two services having addresses sharing a subset under one address group are unlikely to have addresses sharing a subset under another address group. Such shuffling can reduce the total percentage of services made completely unavailable from an access point 106 due to malfunction of an individual flow manager 304A.

To further facilitate use of state information on flow managers 304, the router 302 in one embodiment implements a flow hash routing algorithm, or similar algorithm to identify related packets constituting a “flow” of traffic between a client 102 and an endpoint 202. A variety of flow identification algorithms are known in the art, and thus will not be described in detail herein. Illustratively, the router 302 may implement a flow identification algorithm to recognize flows of data packets, and consistently route packets of the same flow to the same flow manager 304. In one embodiment, the router 302 applies flow-based routing to a data packet prior to otherwise distributing packets to the flow managers 304, such that if the packet is recognized as part of a flow, it is distributed to the same flow manager 304 that previously handled packets of that flow. In such an embodiment, if the packet is not recognized as part of the flow, additional load-balancing algorithms (e.g., consistent hashing) are applied to the packet to determine a flow manager 304 to which to route the packet.

On receiving a data packet, a flow manager 304 may determine a data center 110 to which to route the packet, as well as an endpoint 202 within the data center 110. In one embodiment, the flow manager 304 may apply a combination of criteria to select a data center 110 to which to route a packet, including network performance criteria and load-balancing criteria. For example, a flow manager 304 may, for a given packet, initially select a data center 110 at a minimum network distance (e.g., across the network 108) from the access point 106. Network performance criteria may include, for example, latency, number of hops, bandwidth, or a combination thereof. In general, routing of a packet to a data center 110 with a maximum network performance criteria may beneficially increase the speed of communication between a client device 102 and the data center 110. However, because network performance criteria is unlikely to rapidly shift between an access point 106 and a data center 110, simply routing each packet to a data center 110 with a maximum expected performance criteria may not achieve the load balancing requested by a service provider. As such, each flow manager 304 may further modify an initially selected data center 110, as necessary to achieve the desired load balancing of a service provider. For example, where a service provider desires a maximum of 70% of traffic to be routed to a data center 110 that is closest to an access point 106 in terms of minimized latency or network distance (e.g., number of hops), a flow manager 304 may be configured to route a first 7 packets in a given time period (e.g., each second) to the data center 110, and to route the next 3 packets to an alternative data center 110 (e.g., a second closest data center 110 in terms of network distance, latency, etc.). While percentages are discussed herein as an example load balancing criteria, additional or alternative criteria may be used. For example, a service provider may specify a cap in the total number of packets to be routed to a data center 110.

In another embodiment, rather than initially selecting a data center 110 based on performance criteria between the access point 106 and the data center 110, global access points 106 may be configured to initially select a data center 110 based on performance criteria between the client device 102 from which traffic was received and the initially selected data center 110. Beneficially, use of network performance criteria between client devices 102 and data centers 110 may result in consistent selection of a data center 110 for a given client device 102, regardless of the access point 106 to which the client device's traffic is routed. After selection of an initial data center 110 (e.g., closest to a client device 102 in terms of distance or minimized latency), the access point 106 may modify that selection as required to achieve load-balancing specified by a service provider. For example, if the service provider desired no more than 70% of traffic to be routed to the initially selected data center 110, and the proportion of traffic over a past period of time exceeds that percentage, the access point 106 may select a different data center (e.g., a next most performant data center 110 with respect to the client device 102). The access point 106 may then determine whether the request could be routed to that different data center 110, based on a proportion of historical traffic routed to that different data center 110. This process may continue until the access point 106 locates a data center 110 that is acceptable based on load-balancing specifications of the service provider.

In some embodiments, load balancing is implemented locally at each flow manager 304. In other embodiments, load balancing is implemented across all flow managers 304 of an access point 106. In still other embodiments, load balancing is implemented across flow managers 304 of multiple access points 106. In general, localized load balancing is expected to be less resource intensive, as it requires less communication between distributed components. However, less localized load balancing may result in load balancing criteria more closely resembling that desired by a service provider.

In some instances, flow managers 304 may implement a hybrid of localized and non-localized load balancing. For example, each flow manager 304 may implement localized load balancing (e.g., localized to each manager 304 or each access point 106), and periodically negotiate with other access points 106 to adjust the weights applied when selecting a data center 110. For example, where a service provider requests that traffic be divided evenly between data centers 110, localized load balancing may cause each of two access points 106 to divide traffic evenly between the data centers 110. This may result in less than optimal routing, as half of traffic at each access point 106 may be routed to a non-closest data center 110. Accordingly, in this scenario the access points 106 may communicate regarding their routing of traffic, and assuming for hypothetical sake that the volume of traffic at each point 106 is equal (and that only two access points 106 are considered), each access point 106 may begin to route all of their packets to a nearest data center 110. Such a division would still result in even division of traffic among the data centers 110, and moreover beneficially increase the average network performance metric for each flow of packets.

In one embodiment, a desired proportion or volume of traffic routed to a given data center 110 may be statically selected by a service provider. For example, a service provider may request that no more than 70% of requests at an access point 106 be routed to a given data center 110. In another embodiment, the desired proportion or volume may be dynamic. For example, a service provider may specify that a desired proportion or volume of traffic routed to a given data center 110 increase or decrease from a first point in time to a second point in time, according to a given rate of change (e.g., linearly, exponentially, logarithmically, etc.).

After selecting a data center 110 to which to route traffic, a flow manager 304 may select an endpoint 202 within the data center 110 to which to route the traffic. The endpoint 202 may be selected according to any load balancing algorithm. In one embodiment, the flow manager 304 may utilize consistent hashing to select an endpoint 202.

Similarly to as discussed above with respect to the flow managers 304, it may be desirable for traffic of a given flow to be consistently routed to the same endpoint 202, such that the endpoint 202 may maintain state information regarding that flow. As such, each flow manager 304 may utilize a flow detection algorithm (similarly to as discussed above with respect the router 302) to detect subsequent packets within a flow previously routed by the flow manager 302A to an endpoint 202, and to route such packets to the same endpoint 202. In one embodiment, where a packet is identified by the flow managers 304 as part of an already-routed flow, the flow manager 304 may omit selection of a data center 110 and endpoint 202 for the packet, in favor of routing the packet to the endpoint 202 previously used for prior packets of the flow.

After selecting an endpoint 202 to which to route a packet, a flow manager 304 can modify the packet to facilitate routing to the endpoint 202. For example, a destination network address of the packet, when received at the router 302, may be a global network address. The flow manager 304 may therefore modify the packet to replace the destination network address with a network address of the endpoint 202. In one embodiment, each flow manager 304 implements NAT techniques to modify packets addressed to global network addresses. For example, each flow manager 304 may, for packets bound for endpoints 202, replace a global network address with a network address of an endpoint 202 as the destination network address of the packet, and replace a network address of the client device 102 with an address of access point 106 as a source address. Similar translation may occur for packets from endpoints 202 to be routed to client devices 102, in accordance with NAT techniques. Flow managers 304 may illustratively use port translation (a known NAT technique) to distinguish between translated flows. After translation, the flow manager 304 can return the packet to the router 302 for transmission to the selected endpoint 202 over the network 108.

In another embodiment, a flow manager 304 may utilize encapsulation to route a packet to an endpoint 202. Illustratively, each flow manager 304 may generate an IP “tunnel” to a device within a data center 110, such as the session handoff manager 212 or a router within the data center 110. To route packets to an endpoint 202, a flow manager 304 may encapsulate the packet, and transmit the packet to the receiving device via the tunnel. The receiving device may then decapsulate the packet and transmit the packet to the endpoint 202. In one embodiment, the flow manager 304 replaces a destination address of the packet (e.g., a global network address of the service) with a destination address of the selected endpoint 202 to facilitate transmission of the packet to the endpoint. Encapsulation of packets over a tunnel may provide benefits, such as preservation of the network address of a client device 102 that transmitted the packet. As such, encapsulation may enable, for example, a client device 102 and an endpoint 202 to preserve connection-oriented communication sessions even when packets of a client device 102 are routed through different access points 106. In some instances, flow managers 304 and endpoints 202 (or session handoff managers 212) may be configured to authenticate communications between one another, to ensure authenticity of packets transmitted between the devices. For example, each of the flow managers 304 and endpoints 202 (or session handoff managers 212) may be configured to generate a digital signature authenticating the respective devices, and to include such a digital signature in a header of encapsulated packets flowing between the devices, such that each device can authenticate the digital signature to verify that packets were generated at a known device. As another example, the flow managers 304 and endpoints 202 (or session handoff managers 212) may be configured to communicate via known secure protocols, such as the Transport Layer Security (TLS) protocols.

As noted above, access points 106 may in some instances be configured to conduct an initialization phase of a connection-oriented communication session, to reduce the time needed to conduct such a phase (e.g., due to the relative proximity of the access point 106 to the client device 102 relative to the data center 110). To facilitate such functionality, each flow manager 304 can implement the initialization phase with a client, and provide information related to an initialized session to a device within the data center 110, such as an endpoint 202 or a session handoff manager 212. The information may be provided, for example, via the tunnel. Illustratively, a flow manager 304 may generate a tunnel to the session handoff manager 212, and pass within the tunnel a “TCP handoff” command that includes TCP session state information. The state information may include, for example, a TCP “five-tuple” (five values that often define a TCP connection: source address, source port, destination address, destination port, and the protocol in use) or a portion thereof, and/or sequence numbers of the TCP connection. On receiving the TCP handoff command, the session handoff manager 212 may generate a corresponding entry in its own stateful session table (e.g., TCP table), thus “adopting” the connection-oriented communication session. The flow manager 304 may then transmit packets from the client device 102 via the tunnel, which may be decapsulated and processed at the session handoff manager 212 as part of the adopted session. In embodiments where a session handoff manager 212 is used to accomplish handoff of stateful sessions, flow managers 304 may not be required to select an endpoint 202 to which to transmit a packet. Rather, flow managers 304 may be configured to consistently select an appropriate session handoff manager 212 within a selected data center 110 as a destination for client device 102 packets. The session handoff manager 212, in turn, may select an endpoint 202 within the data center 110. Thus, use of a session handoff manager 212 may shift responsibility for selecting an endpoint 202 from the flow manager 304 to the session handoff manager 212. Selection of an endpoint 202 at a session handoff manager 212 may occur similarly to such selection by a flow manager 304.

In addition to one or more routers 302 and flow managers 304, the global access point 106 of FIG. 2 includes a health check unit 306. The health check unit 306 may illustratively transmit health checks to flow managers 304 in order to ascertain whether such flow managers 304 are malfunctioning. Transmission of health check data may occur similarly to transmission of health check data by a health check device 204 within a data center 110, as discussed above. Additionally or alternatively, the health check unit 306 may transmit health check data to endpoints 202 and/or client devices 102. Health check data received with respect to endpoints 202 may facilitate routing decisions to the endpoint 202. For example, if the health check unit 306 is unable to communicate with an endpoint 202, a flow manager 304 may halt selection of the endpoint 202 as a destination for traffic, regardless of whether a health check device 204 local to the endpoint 202 reports the endpoint 202 as healthy. Health check data collected with respect to client devices 102 may illustratively be used to modify availability announcements (e.g., BGP announcements) to devices of the network 104. For example, an operator of the global access points 106 may review client device 102 related health check data to adjust announcements in an attempt to redirect traffic from some devices 102 to a different (e.g., closer) access point 106 than it is currently routed to on the network 104.

The global access point 106 of FIG. 3 further includes a configuration manager 308 configured to receive configuration information related to services associated with global network addresses, and to configure operation of the global access point 106 to implement such configuration. For example, the configuration manager 308 may receive information as to how the router 302 should advertise global network addresses to the network 104, information mapping services made available at the data centers 110 to global network addresses routed by the access points 106, information identifying data centers 110 and endpoints 202 of such services, information specifying a desired load-balancing among such data centers 110, and the like. In one embodiment, the configuration manager 308 retrieves configuration information from a configuration data store 210 within a data center 110. For example, the configuration manager 308 may periodically poll the data store 210 for new configuration information. As another example, a data center 110 may “push” changes in configuration to the configuration manager 308, utilizing a variety of known push notification techniques. For example, a data center 110 may implement a publish-subscribe (“pub/sub”) messaging system, and a configuration manager 208 may publish changes to a service provider's configuration to the system. The system may then notify the configuration managers 308 of the access points 106 of such changes. Thus, as service providers modify configuration of their services and global network addresses at a data center 110, such modifications may be propagated to the access points 106. In one embodiment, access points 106 do not store configuration information in persistent storage (and may lack any such persistent storage) in order to reduce a likelihood that such information might be obtained from the access points 106.

While examples are discussed above with respect to a network-accessible service, each access point server 402 may be associated with multiple services. For example, where each flow manager 304 is tasked with handling packets addressed to a subset of global network addresses within a group of such addresses, each flow manager 304 may as a consequence handle traffic addressed to any service associated with a global network address within that subset.

While only some components of the access points 106 are shown as in communication with the networks 104 and 108, other components may additionally be in communication with the network 108 and/or the network 104. The lines of FIG. 3 are not intended to represent all actual or potential network connections, but rather to illustrate a possible flow of service-related traffic through an access point 106.

The data center 110 of FIG. 2 and the global access point 106 of FIG. 3 are as operating in a distributed computing environment including one or more computer systems that are interconnected using one or more computer networks (not in the respective figures). The data center 110 of FIG. 2 and the global access point 106 of FIG. 3 could also operate within a computing environment having a fewer or greater number of devices than are illustrated in the respective figures. Thus, the depictions of the data center 110 of FIG. 2 and the global access point 106 of FIG. 3 should be taken as illustrative and not limiting to the present disclosure. For example, data center 110 of FIG. 2, the global access point 106 of FIG. 3, or various constituents thereof, could implement various Web services components, hosted or “cloud” computing environments, and/or peer to peer network configurations to implement at least a portion of the processes described herein.

FIG. 4 depicts a general architecture of an example computing system (referenced as an access point server 402) that operates to implement flow managers 304 of an access point 106. The general architecture of the access point server 402 depicted in FIG. 4 includes an arrangement of computer hardware and software modules that may be used to implement aspects of the present disclosure. The hardware modules may be implemented with physical electronic devices, as discussed in greater detail below. The access point server 402 may include many more (or fewer) elements than those shown in FIG. 4. It is not necessary, however, that all of these generally conventional elements be shown in order to provide an enabling disclosure. Additionally, the general architecture illustrated in FIG. 4 may be used to implement one or more of the other components illustrated in FIGS. 2 and 3. As illustrated, the access point server 402 includes one or more processing units 490, one or more network interface 492, and one or more computer readable medium drives 494, all of which may communicate with one another by way of a communication bus. The network interfaces 492 may provide connectivity to one or more networks or computing systems, such as the router 302 (which may correspond, for example, to a commercially available router device). The processing units 490 may thus receive information and instructions from other computing systems or services via networks, such as network 104 or 108. The processing unit 490 may also communicate to and from memory 480.

The memory 480 may contain computer program instructions (grouped as modules in some embodiments) that the processing unit 490 executes in order to implement one or more aspects of the present disclosure. The memory 480 generally includes random access memory (RAM), read only memory (ROM) and/or other persistent, auxiliary or non-transitory computer readable media. The memory 480 may store an operating system 482 that provides computer program instructions for use by the processing unit 490 in the general administration and operation of the access point server 402. The memory 480 may further include computer program instructions and other information for implementing aspects of the present disclosure. For example, in one embodiment, the memory 480 includes one or more flow manager units 483, each of which represents code executing to implement a flow manager 304 of FIG. 3. Each flow manager unit 483 may illustratively be isolated from other units 483 on the server 402. For example, each unit may represent a separate virtual machine or isolated software container. In some instances, each unit 483 may be associated with separate processing units 490, interfaces 492, or drives 494, minimizing potential for operation of one unit 483 to impact operation of another unit 483. Each unit 483 illustratively includes an endpoint selector unit 484, representing code executable to select an endpoint 202 to which to route a packet addressed to a global network address, a flow table 486 representing a table of information mapping flows of packets to endpoints 202, a NAT unit 488 representing code executable to perform NAT on packets addressed to global network addresses, or responses to such packets from endpoints 202, and a session handoff unit 489 representing code executable to conduct an initialization phase of a connection-oriented communication session, and to handoff that session to a receiving device. While not shown in FIG. 4, the memory 480 also illustratively includes an encapsulation unit representing code executable to generate a tunnel connection to another device enabling transmission of encapsulated packets, and to conduct encapsulation/decapsulation to facilitate such transmission.

The memory 480 may further include a health check unit 496, corresponding to instructions executable to implement the health check device of 306, and a configuration manager unit 498, corresponding to instructions executable to implement the configuration manager 308. In some embodiments, the health check device of 306 and configuration manager 308 may be implemented as standalone devices, rather than as part of the access point server 402. Moreover, while shown as distinct from the access point server 402, the router 302 may in some instances be incorporated into the server 402 (e.g., by including in memory 480 software executable to implement routing functionality).

In one embodiment, the access point server 402 lacks any non-volatile memory, and is configured to operate solely with respect to volatile memory, such as RAM. Illustratively, the access point server 402 may be configured to use a pre-boot execution environment (PXE) such that, on initialization, the access point server 402 retrieves from a network-accessible storage location (e.g., the configuration data store 210) at least a portion of the contents of the memory 480, such as the operating system 482, health check unit 496, and configuration manager unit 498. The configuration manager unit 498 may thereafter retrieve additional configuration information from a network-accessible storage location, such as configuration for individual services and associated global network addresses, and utilize such additional information to generate flow manager units 483. To prevent unauthorized disclosure of the contents of memory 480, authentication of the server 402 at the storage location may be linked at least partly to a network location of the server 402 (e.g., at an access point 106), such that attempts to physically relocate the server 402 result in a failure to retrieve the contents of memory 408.

While FIG. 4 depicts a single server 402 and router 302, in some instances a global access point 106 may be implemented by multiple servers 402 and/or routers 302. In some instances, such servers 402 or routers 302 may be physically or logically isolated, to avoid propagation of errors between such servers 402 or routers 302. Illustratively, where an access point 106 handles multiple pools of network addresses, each pool may be handled by a distinct server 402 and router 302. Thus, should one router 302 and/or server 402 fail, only services associated with the pool handled by that router 302 and/or server 402 would be expected to be affected.

With reference to FIG. 5, illustrative interactions will be described that depict how an individual global access point 106A may operate resiliently, by providing multiple routes to reach a network-accessible service utilizing global network addresses. FIG. 5 depicts an environment 500, which may in turn represent an embodiment of a portion of the environment 100 of FIG. 1. Specifically, in the environment 500, the network 104 is divided into networks 104A-E, each of which may represent, for example, an autonomous system. The networks 104A-C are illustrated as in communication with client devices 102. These network 104A-C may represent, for example, Internet service providers (ISPs) of client devices 102. Networks 104D and E represent other AS's to which the global access point 106A has a network connection. While networks 104D and E are not shown in FIG. 5 as connected to client devices 102, such networks may also act as ISPs to client devices 102. Each of the networks 104A-E is shown in FIG. 5 as interconnected to other networks 104A-E. This configuration is illustrative, and may vary across implementations.

In the illustration of FIG. 5, client devices 102 generally have two routes through which to reach the global access point 106A: via network 104D and 104E. To increase the resiliency of access to the global access point 106A, the access point 106A may selectively transmit availability announcements to the networks 104D and 104E. Specifically, as shown in FIG. 5, at (1), a global access point 106A may identify at least two groups of global network addresses, such as two contiguous range of network addresses. Thereafter, rather than advertising all global network addresses to both network 104D and E, the global access point 106A, at (2), transmits an advertisement (e.g., a BGP announcement) for the first network group to the network 104D. Similarly, at (3), the global access point 106A transmits an advertisement (e.g., a BGP announcement) for the second network group to the network 104E. In this way, traffic addressed to addresses within the first network group are likely to arrive at the access point 106A through network 104D, and traffic addressed to addresses within the second network group are likely to arrive at the access point 106A through network 104E. Each service may be associated with a global network addresses of at least two groups. Thus, if errors or issues occur on the either of the networks 104D or E, a client device 102 may utilize an alternative global network address of a service in order to access the global access point 106A through the remaining network.

With reference to FIG. 6, illustrative interactions will be described for operation of a global access point 106 to facilitate communication between a client device 102 and a data center 110 providing endpoints 202 for a network-accessible service. The interactions of FIG. 6 begin at (1), where a client device 102 transmits a data packet to the global access point 106A, addressed to a global network address associated with the global access point 106A. The data packet may, for example, be formatted in accordance with the Transmission Control Protocol (TCP), the user datagram protocol (UDP), or the Internet Control Message Protocol (ICMP). The data packet may be transmitted via the network 104, and routed to the global access point 106A via operation of the network 104, based on advertisements of the global access point 106A indicating that the global network address to which the packet is addressed is available via the global access point 106A. For example, the global access point 106A may be a nearest (e.g., in network distance terms) global access point 106 to the client device 102.

On receiving the data packet, a router 302 within the global access point 106A assigns the packet to a flow manager 304 within the access point 106. Where the data packet is not associated with an existing data flow, the router 302 may utilize ECMP load balancing to assign the data packet to a flow manager 304 based on the network address to which the packet is addressed. Where the data packet is associated with an existing data flow, the router 302 may route the packet to the same flow manager 304 to which prior packets within the flow were routed.

At (2), the flow manager 304 within the access point 106A assigns the data packet to a data center 110. Where the data packet is not associated with an existing data flow, the flow manager 304 may apply a load balancing algorithm to the data packet, to select a data center 110 from the set of available data centers 110. The algorithm may include, for example, initially selecting a data center 110 that is most performant with respect to the client device 102 (or, alternatively, the global access point 106A) in terms of network performance criteria, and selecting an alternative data center 110 (e.g., a next most performant) if the nearest data center 110 has received greater than a threshold amount (e.g., in absolute amount or percentage) or data packets over a past period of time. In one embodiment, each access point 106A implements the same algorithm when selecting a data center 110, based on current information related to performance criteria between client devices 102 and data centers 110. Moreover, a common set of performance criteria may be made available to each access point 106 (e.g., from within configuration data store 210). Thus, absent a change in performance criteria or load of data centers 110, routing of client device 102 data packets to a data center 110 may be consistent among access points 106. In this manner, even when data packets of a client device 102 are rerouted to a different access point 106, they may be routed to the same data center 110. Where the data packet is associated with an existing data flow, the flow manager 304 may route the packet to the same data center 110 to which prior packets within the flow were routed.

After selecting a data center 110, the flow manager 304 may select an endpoint 202 within the selected data center 120. The flow manager 304 may illustratively maintain, for a given data center 110, a set of endpoints 202 providing a network accessible service associated with the global network address to which the data packet was addressed. In one embodiment, this set of endpoints 202 may be identified based on information received from a resource manager 206 within the data center 110. The flow manager 304 may further maintain information as to the apparent health of the endpoints 202, as obtained from a health check device 204 within the data center 110, a health check unit 306 within the access point 106A, or both. The flow manager 304 may thus select from a set of endpoints 202 a healthy endpoint for the service associated with the network address to which a packet was addressed. The flow manager 304 may utilize any of a number of known load balancing algorithms, such as consistent hashing, to distribute packets between endpoints 202. Where a packet is associated with an existing packet flow, the flow manager 304 may select the same endpoint 202 to which prior packets in the flow have been routed.

After selecting an endpoint, the flow manager 304 within the access point 106A modifies the packet as necessary to route the packet to the selected endpoint 202. Specifically, in the embodiment of FIG. 6, the flow manager 304 at (5) applies NAT techniques to the packet, such as by replacing source and destination network addresses of the packet. Thereafter, at (6), the flow manager 304 transmits the packet to selected endpoint 202 within the selected data center 110.

At (7), the endpoint 202 processes the packet in accordance with the network-accessible service. The endpoint 202 then returns a response packet to the global access point 106A. As the response packet is associated with an existing data flow, the router 302 within the access point 106A directs the response packet the same flow manager 304 discussed above. The flow manager 304 reverses the previous NAT transformation, in order to address the packet to the client device 102. The flow manager 304 then returns the data packet to the client 102. Thus, via the interactions of FIG. 6, a client device 102 may address a data packet to a global network address, and be routed (via a global access point 106) to an endpoint providing a network-accessible service related to the network address. The access point 106 may apply load-balancing to packets, such that load on the service is distributed among data centers 110, in accordance with a desired configuration of a service provider.

With reference to FIG. 7, illustrative interactions will be described for propagating endpoint information from a data center 110A to global access points 106, such that the access points 106 may correctly route traffic from client devices 102 addressed to global network addresses. The interactions of FIG. 7 will be described with respect to a single data center 110A. However, similar interactions may occur with respect to other data centers 110, potentially concurrently.

The interactions of FIG. 7 begin at (1), where the resource manager 206 of a data center 110A detects an endpoint scaling event within the endpoint pool 201. An endpoint scaling event illustratively corresponds to a “scale up” or “scale down” event, indicating an addition or removal of an endpoint 202 from the pool 201. In some instances, a scaling event may also include replacement of an endpoint 202 in the pool 201. Scaling events may illustratively occur due to load on the pool 201 falling outside of desired threshold values, or due to malfunction of an endpoint 202 within the pool 201. At (2), the resource manager 206 transmits instructions to the pool 201 to alter the pools configuration, in accordance with the scaling event. For example, the resource manager 206 may instruct the pool 201 to add a new endpoint 202, remove an existing endpoint 202, or a combination thereof. Illustratively, scaling the pool 201 may include transmitting instructions to a host device to add or remove a virtual machine instance executing software corresponding to the endpoint 202 (e.g., making available a network-accessible service related to the pool 201).

At (3), the pool 201 notifies the resource manager 206 of modifications to the pool 201, including for example network addresses of any endpoints 202 added to the pool 201. The resource manager 206, at (4), notifies the configuration manager 208 of any network address modifications to the pool 201. A variety of techniques may be utilized in accordance with the present disclosure to facilitate transmission of information between the resource manager 206 and the configuration manager 208. Preferably, such communication will occur rapidly (e.g., within milliseconds or seconds), such that future requests to access a network-accessible service are routed to an available endpoint 202, as opposed to a failed or unavailable endpoint 202. In one embodiment, this rapid communication is facilitated by a pub/sub messaging system, a stream-data processing system, or a combination thereof. Illustratively, the resource manager 206 may publish modifications to the endpoints 202 of a pool 201 within a message stream associated with the network-accessible service provided by the pool 201. The configuration manager 208 may be configured to retrieve new messages to the stream, either by periodically polling for such messages (e.g., at a frequency of every 1 second, 2 seconds, 3 seconds, etc.) or by receiving “push” notifications for such messages by the message-handling system. Use of a pub/sub messaging system or stream-data processing system may beneficially provide highly resilient, rapid messaging between the resource manager 206 and the configuration manager 208. While described with reference to changes to network addresses, a pub/sub messaging system or stream-data processing system may be used to facilitate communication regarding other changes to configuration of global access points 106.

On detecting a change to the network addresses of the pool 201, the configuration manager 208 may modify a configuration of the global access points 106 to reflect those changes, as detailed below. While the interactions below are described with reference to alterations of network addresses within a pool 201, the same or similar interactions may be utilized to propagate other configuration changes to access points 106.

Specifically, at (5), after being determining a change in network address of endpoints 202 within the pool 201, the configuration manager 208 builds a modified configuration package (or parcel within a package) for the global access points 106. The modified configuration package (or parcel) may illustratively reflect the changes to the network addresses of the pool 201, as well as any other changes to configuration of the global access points 106 since a last build of the configuration package (or parcel). In one embodiment, the configuration package (or parcel) reflects only a change since a last version of the package (or parcel). In another embodiment, the package (or parcel) reflects all relevant configuration information in the package (or parcel). At (6), the configuration manager 208 stores the modified configuration package (or parcel) in the data store 210 for retrieval by the global access points 106.

As noted above, in one embodiment, each global access point 106 is configured to periodically poll the configuration data store 210 for changes to its configuration package (or parcels thereof). Thus, at (7), each global access point 106 can determine that a modified package (or parcel) exists in the data store 210, and retrieve that package (or parcel). Each access point 106 can then, at (8), update its configuration (e.g., with the changes to network addresses within the pool 201), such that future requests are routed to a correct endpoint 202 within the pool 201. The illustrative interactions of FIG. 7 can thus facilitate rapid modification to the configuration of global access points 106, such as in response to modification of endpoint pools 201.

With reference to FIG. 8, an illustrative routine 800 will be described for increasing resiliency of global network addresses, by selecting advertisement of addresses to different neighboring devices. The routine 800 may illustratively be implemented by a global access point 106 (e.g., during initialization of the access point 106). In one embodiment, an instance of the routine 800 is implemented by each access point 106.

The routine 800 begins at block 804, where global network addresses to be serviced via the access point 106 are obtained. This information may illustratively be obtained as part of a configuration of the access point 106, such as within a configuration file stored in a configuration data store 210, obtained during initialization of the access point 106. The global network addresses may be illustratively divided in the configuration into different addressing pools. For example, each pool may include a different “block” of network addresses, such as a contiguous range of addresses. Ranges may represent “subnets” for example. In one embodiment, ranges are represented by a “prefix,” denoting the first n bits of network addresses in the range. For example, the prefix of 192.0.2.0/24 (expressed in Classless Inter-Domain Routing, or CIDR) may represent the first 24 bits of an IPv4 address, corresponding to addresses in the range of 192.0.2.0 to 192.0.2.255.

At block 808, the access point 106 selects neighboring devices to which to advertise each pool of network addresses. Generally, the available pools may be divided among available neighboring devices, in order to provide different network paths from which to reach the access point. In one embodiment, such election is based on a specification within the configuration of the access point 106. In another embodiment, such selection is determined by the access point 106. Illustratively, the access point 106 may divide the pools evenly among available neighboring devices (which may be discovered, e.g., through typical routing protocols). In some instances, neighboring devices may additionally be determined based on preferred routing of traffic. For example, an access point 106 may be configured not to advertise a given network address pool on a given neighboring device, in order to cause that neighboring device to route requests for addresses within the pool to an alternative access point 106.

Thereafter, at block 810, the global access point 106 transmits to the relevant neighboring devices availability announcements for the respective pools of network addresses. The announcements may, for example, be BGP protocol announcements. Transmission of BGP protocol announcements generally is known within the art, and thus will not be described in detail herein.

As described above, the division of global network address into pools, and advertisement of such pools to different neighboring devices, may beneficially increase the resiliency of access points 106, particularly to outages or errors on neighboring networks. Specifically, because each network-accessible service may be associated with global network addresses of different pools (e.g., one for each pool), client devices 102 of a service may be made aware (e.g., via DNS) of multiple routes for reaching the service. This technique may further increase the resiliency of access points 106 to limited outages at the access points 106, such as outages of a network interface or router connected to a neighboring network. As noted above, in one embodiment, the resiliency of each service is further increased by dividing each pool into network address subsets, which may be in turn distributed among flow managers 304 of an access point 106. The associations between services and each subset may be “shuffled” among pools. For example, the global network address for a service in a given pool may be randomly selected, or may be selected via a varied selection mechanism for each pool. This may cause the groupings of services within subsets to be “shuffled” among the pools. In this manner, if an individual service's configuration is problematic to other services within the subset, the other services affected by that misconfiguration are likely to vary among pools. Because each service may be expected to be accessible via addresses in multiple pools, client devices 102 may connect to each other service via an alternative address of an alternative pool, thereby bypassing the problematic subset and pool. This shuffling mechanism can therefore greatly increase resiliency of services using global network addresses.

With reference to FIG. 9, an illustrative routine 900 will be described for routing traffic addressed to a global network address associated with a service provided by endpoints 202 within data centers 110. The routine 900 may illustratively be implemented by a flow manager 304 within an access point 106. In one embodiment, an instance of the routine 900 is implemented by each flow manager 304 of each access point 106.

The routine 900 begins at block 902, wherein the flow manager 304 receives a data packet addressed to a global network addresses advertised as accessible at the access point 106. The data packet may, for example, represent a request to access a network-accessible service made available via the network address. In one example, the data packet is formatted as a TCP or UDP data packet.

At block 903, the routine 900 varies according to whether the data packet is associated with an existing packet flow, as determined at block 903. Illustratively, the access point 106 may compare attributes of the data packet to attributes of prior packets, to determine whether the new data packet is within a same flow of communication as a prior packet. Any number of flow identification techniques, a variety of which are known in the art, may be used to determine whether a data packet is within an existing flow.

If the packet is part of an existing flow, the routine 900 proceeds to block 913, where the flow manager 304 selects as an endpoint 202 for the packet the same endpoint 202 selected for previous packets within the flow. In one embodiment, each flow manager 304 may maintain a cache in memory associating flows to endpoints 202, facilitating this selection.

If the packet is not part of an existing flow, the routine 900 proceeds to block 904, where the flow manager 304 identifies the network-accessible service associated with the network address to which the packet is addressed. The flow manager 304 may illustratively access information mapping network addresses to associated services (e.g., as maintained in memory of the access point 106) to identify the service associated with the address.

Thereafter, at block 906, the access point 106 selects a data center 110 providing the network-accessible service. In one embodiment, the data center 110 is selected at least partly based on network performance criteria between the access point 106 and the data center 110, as well as a load balancing configuration for the network-accessible service. Illustratively, the flow manager 304 may initially select a most performant (in terms of a given network performance criteria with respect to the client device 102 or the access point 106) data center 110. The flow manager 304 may then determine whether a proportion of packets routed to the data center 110 over a past period (e.g., 1 minute, 5 minutes, 30 minutes, etc.) exceeds a threshold desired maximum for the data center 110, based on a desired load balancing across data centers 110 for the service. In one embodiment, the threshold desired maximum may be specified, for example, by a service provider, such as via a desired percentage of traffic to be routed to each data center 110. In another embodiment, the threshold desired maximum may be determined cooperatively by multiple access points 106, such that the combined thresholds of each access point 106 achieve the desired division of a service provider between data centers 110. For example, access points 106 may implement a peer-to-peer algorithm that aggregates traffic volumes to a service across the access points 106 and determines an optimal routing for each data packet based on the access point 106 to the packet was addressed (and corresponding network performance criteria to each data center 110). The algorithm may then modify the optimal routing for each access point 106 as necessary to implement globally optimized routing, resulting in an individualized desired proportion between data centers 110 for each access point 106. Each access point 106 may thus implement this individualized desired proportion to determine whether a proportion of packets routed to the initially selected data center 110 over a past period (e.g., 1 minute, 5 minutes, 30 minutes, etc.) exceeds a threshold desired maximum for the data center 110. If so, the access point may modify the initial selection to an alternative data center, such as a next closest data center. In one embodiment, implementation of block 906 repeats for each data center 110 selected, to ensure that no data center receives greater than a desired maximum proportion or volume of data packets.

After selecting a data center 110, the flow manager 304 selects an endpoint 202 within the data center 110 to which to route the data packet. In one embodiment, the flow manager 304 may utilize consistent hashing to select an endpoint 202, based on an attribute of the packet (e.g., source IP address).

Thereafter, at block 910, the flow manager 304 applies NAT to the data packet. Illustratively, the flow manager 304 may replace a source address of the data packet with an address of the global access point 106 (e.g., a unicast address, as opposed to a global network address), and replace a destination address with an address of the endpoint 202 (which may also be a unicast address of the endpoint 202). The flow manager 304 may also, for example, modify a port number of the packet, to facilitate later application of NAT techniques to packets within the flow. The flow manager 304 may then transmit the packet to the selected endpoint 202. The routine 900 may then end at block 914.

Various modifications to the routine 900 are contemplated herein. For example, while the routine 900 includes three blocks related to selection of an endpoint 202 for packets not associated with an existing flow (blocks 904, 906, or 908), some implementations of the routine 900 may exclude one or more of these blocks. Illustratively, rather than separately identifying a service and data centers related to that service, a flow manager 304 may maintain data mapping a network address to data centers 110 and endpoints 202 associated with the address. The flow manager 304 may then select a data center 110 based on the criteria described above, without the need to directly identify the service associated with the address. In other embodiments, the flow manager 304 may maintain only data associating network addresses to corresponding endpoints 202, and may select an endpoint 202 for a packet directly, without first identifying the service associated with the address or a data center 110 providing the service. For example, each endpoint 202 may be selected in a manner similarly to the data centers 110 described above, by selecting an endpoint 202 with a best performance criteria value, and modifying that selection if the endpoint 202 is receiving more than a desired proportion of volume of data. Moreover, while the routine 900 is shown in FIG. 9 as ending at block 914, a flow manager 304 may continue to undertake other actions subsequent to the routine 900, such as acting as a NAT device for communications between client devices 102 and endpoints 202. Thus, the depiction of the routine 900 in FIG. 9 is one embodiment of the concepts disclosed herein.

With reference to FIG. 10, an illustrative routine 1000 will be described for updating information at the global access points 106 regarding endpoints 202 of a data center 110 that provide a network-accessible service. The routine 1000 may illustratively be implemented by a resource manager 206 within a data center 110. In one embodiment, an instance of the routine 900 is implemented by each resource manager 206 of each data center.

The routine 1000 begins at block 1002, where the resource manager 206 of a data center 110A detects an endpoint scaling event within an endpoint pool 201. An endpoint scaling event illustratively corresponds to a “scale up” or “scale down” event, indicating an addition or removal of an endpoint 202 from the pool 201. In some instances, a scaling event may also include replacement of an endpoint 202 in the pool 201. Scaling events may illustratively occur due to load on the pool 201 falling outside of desired threshold values, or due to malfunction of an endpoint 202 within the pool 201.

At block 1004, the resource manager 206 alters the pool configuration based on the detected scaling event. Illustratively, the resource manager 206 may transmit instructions to the pool 201 to alter the pools configuration, in accordance with the scaling event. For example, the resource manager 206 may instruct the pool 201 to add a new endpoint 202, remove an existing endpoint 202, or a combination thereof. Illustratively, scaling the pool 201 may include transmitting instructions to a host device to add or remove a virtual machine instance executing software corresponding to the endpoint 202 (e.g., making available a network-accessible service related to the pool 201).

At block 1006, the resource manager 206 obtains from the pool 301 network addresses of any endpoints 202 added to or removed from the pool 201. Further, at block 1008, the resource manager 206 notifies the global access points 106 of any network address modifications to the pool 201. As discussed above, the notifications may in some instances be transmitted via alterations to a configuration package (or parcel) for the access points 106. Thus, the global access points 106 may update their endpoint availability for the network-accessible service related to the pool 201, such that future requests to access the network accessible service can be routed to an available endpoint 202 in the pool 201. The routine 1000 can then end at block 1010.

With reference to FIG. 11, illustrative interactions will be described for conducting an initialization phase of a connection-oriented communication session at a global access point 106A, and handing off the session to a device within a data center 110, thus reducing the time required to establish such a session. The interactions of FIG. 11 may be implemented, for example, by a flow manager 304 of an access point 106. The interactions of FIG. 11 will be described with respect to a single access point 106A and data center 110A. However, similar interactions may occur with respect to other access points 106 and data centers 110, potentially concurrently. Moreover, the interactions of FIG. 11 will be described with respect to a specific type of connection-oriented communication session: a TCP session. Similar interactions may occur with respect to other connection-oriented communication sessions.

The interactions of FIG. 11 begin at (1), where a client device 102 attempts to initiate a connection-oriented communication session with a network service, by transmitting a TCP SYN packet addressed to a global network address of the service. In accordance with the functionalities described above, the TCP SYN packet is transmitted to the global access point 106A, as shown in FIG. 11. The TCP SYN packet illustratively includes a sequence number for the client device 102.

At (2), a flow manager 304 of the global access point 106A continues the TCP three-way handshake by returning to the client device 102 a TCP SYN-ACK packet, which illustratively includes a sequence number for the access point 106A (as well as acknowledging the client device's 102 sequence number). At (3), the client device 102 continues the TCP three-way handshake by returning to the access point 106A a TCP ACK packet, acknowledging the sequence number of the access point 106A. On reception of the TCP ACK packet, a TCP session is initiated between the client device 102 and the global access point 106A. Because the access point 106A is expected to be nearby to the client device 102 (e.g., in terms of latency), interactions (1)-(3) are expected to complete quickly, relative to conducting the initialization phase between the client device 102 and an endpoint 202.

At (4), the client device 102 (understanding the TCP session to have been initialized with the service), transmits a data packet within the TCP session, addressed to the global network address of the service. The data packet is routed to the global access point 106A, which at (5), selects a data center 110 to which to route the packet. Selection of a data center may occur in the same manner as described above (e.g., as interaction (3) of FIG. 6). The access point 106 further, at (6) encapsulates the data packet for transmission to the selected data center 110 (in this instance, data center 110A) via a tunnel. In the interactions of FIG. 11, it is assumed that the access point 106A has previously established a tunnel to the data center 110A (e.g., to a session handoff manager 212 of the data center 110A). For example, the access point 106A may maintain one or more idle TCP tunnels to the data center 110A for use in transmitted packets to the data center 110. However, an additional interaction may be included, wherein the global access point 106A establishes a tunnel to the data center 110A (e.g., a UDP or TCP tunnel). To facilitate handoff of the established TCP session, the encapsulated data packet also illustratively includes TCP session state information, such as the five-tuple for the TCP session and sequence numbers of the session. In the embodiment illustratively depicted in FIG. 11, the session state information is included as header information for the encapsulated data packet. At (7), the global access point 106A transmits the encapsulated packet to the data center 110A (e.g., to a session handoff manager 212 within the data center 110A).

At (8), on receiving the encapsulated packet, the device within the data center 110A (e.g., the session handoff manager 212, or in some instances an endpoint 202) adopts the TCP session, by adding information indicated within the encapsulated packet (e.g., within a header) to its own TCP session state table. The device then, at (9), decapsulates the packet of the client device 102, and at (10) processes it as if it were received directly at the device. For example, where the device is an endpoint 202, the endpoint 202 may process the data of the packet in accordance with the service requested by the client device 102. Where the device is a session handoff manager 212, the manager 212 may process the packet by identifying an endpoint 202 to service the packet (e.g., in a manner similar to interaction (4) of FIG. 6), and utilize the endpoint 202 to service the packet. Illustratively, because the session handoff manager 212 (and in this case not the endpoint 202) is a party to the TCP connection with the client device 102, the manager 212 may initiate a second TCP connection with the endpoint 202, and pass the data within the client devices 102 packet to the endpoint 202 via the second TCP session. The manager 212 may continue to operate as a proxy between the client device 102 and the endpoint 202 for future communications. For example, the manager 212 may obtain a response from the endpoint 202 and facilitate transmission of the response to the client device 102 via the TCP session with the client device 102.

At (11), the device within the data center 110A transmits a response packet to the global access point 106A, such as via the tunnel. Interaction (11) may include, for example, encapsulating the response packet for transmission via the tunnel. The global access point 106A then, at (12), forwards the response packet to the client device 102. Interaction (12) may include, for example, decapsulating the response packet for transmission to the client device 102. Further communications between the client device 102 and an endpoint 202 within the data center 110A may occur in a similar manner to interactions (4) through (7) and (9) through (12), above. Thus, the client device 102 may communicate with the data center 110A via a TCP session, without actually being required to complete an initialization phase of the session with a device of the data center 110A.

While FIG. 11 depicts illustrative interactions, these interactions may vary across embodiments. For example, while a response packet is depicted in FIG. 11 as passing through the global access point 106A, in some instances an endpoint 202 may be configured to respond directly to a client device 102, without the response passing through the access point 106A. For example, rather than encapsulating a response packet and transmitting it to the access point 106A, an endpoint 202 (or manager 212) may transmit the response packet directly to the client device 102 (e.g., over network 104), avoiding the need for encapsulation. As another variation, while session information is described in FIG. 11 as included within an encapsulated data packet, in other embodiments, session state information may be included in a separate packet. For example, a global access point 106A may be configured to separately transmit session state information to a data center 110A after conducting an initialization phase of a communication session, such as in a “session adoption” command to the data center 110A. As yet another variation, while the manager 212 is discussed above as selecting an endpoint 202 within the data center 110A to service a client device 102, in some instances an access point 106 may select such an endpoint 202, even where a manager 212 is used. For example, an access point 106 may select an endpoint 202, and notify the manager 212 of which endpoint has been selected (e.g., in headers of an encapsulated packet). In instances where the global access point 106 selects an endpoint 202 to which to route a packet, the access point 106 may modify the packet to facilitate routing to the endpoint 202. For example, the access point 106 may replace, within a destination address filed of the packet, a global network address for the service with a network address of the endpoint 202 (e.g., a “unicast” address). Thus, the interactions of FIG. 11 are intended to be illustrative in nature.

While the interactions of FIG. 11 depict interactions of a client device 102 with a single global access point 106A, in some instances a client device 102 may interact with multiple global access points 106. As noted above, each global access point 106 may be configured to advertise global network addresses to a public network (e.g., network 104), not under control of the global access points 106. Thus, devices on such a network can generally determine the access point 106 to which packets of a client device 102 addressed to a global network address are routed. In some configurations, rerouting of packets within a given packet flow to a different global access point 106 can detrimentally affect client device 102 communications. For example, where a client device 102 establishes a TCP connection that requires state information to be maintained at an individual access point 106 (e.g., a TCP connection with the access point 106 or NAT'ed through the access point 106), rerouting of client device 102 communications to a different access point 106 can undesirably break that connection.

The interactions of FIG. 11 address this scenario, by enabling TCP connections between a client device 102 and endpoint 202 (or session handoff manager 212) to be maintained even when rerouting of client device 102 packets to a different access point 106 occurs. Specifically, each access point 106 can be configured to apply the same load balancing criteria when selecting a data center 110 or endpoint 202 to which to route a client device 102's packet. Such load balancing criteria may be access point 106 agnostic (e.g., invariant regardless of the access point 106 at which it is applied). For example, the load balancing criteria may reflect latency between a client device 102 and the data center 110, as well as health of the data center 110 (or endpoints 202 therein), independent of latency to or from the access point 106. As such, each access point 106 can be expected to route a given client device 102's packets to the same data center 110. Thus, for example, if the client device 102 transmitted an additional packet to a second access point 106, the second access point 106 would apply the same load balancing criteria to select the data center 110A as a destination for the packet. The second access point 106 would then route the packet to the endpoint 202 (or session handoff manager 212), which would process the packet in the same way as if it had been routed through the access point 106A. Because the interactions of FIG. 11 do not require state information to be maintained at the access point 106A, and because the encapsulation mechanism of FIG. 11 maintains a source network address of the client device 102 within encapsulated packets, no interruption of a connection-oriented communication session (e.g., a TCP session) would occur. Thus, the interactions of FIG. 11 address rerouting problems that would otherwise occur when utilizing anycast technologies to shape routing of connection-oriented communication sessions.

With reference to FIG. 12, an illustrative routine 1200 will be described for initialization of a connection-oriented communication session at a global access point 106A, and handoff of the session to a manager 212 within a data center 110. The routine 1200 is illustratively implemented cooperatively between the global access point 106A and the session to a manager 212, and thus the boxes of the routine 1200 are divided among such devices. While portions of the routine 1200 is depicted as being implemented by a manager 212, these portions may alternatively be implemented directly within an endpoint 202 in some instances.

The routine 1200 begins at block 1202, where the access point 106 (e.g., a flow manager 304) obtains a request addressed to a global network address of a service to initiate a connection-oriented communication session with the service. The request may be, for example, a TCP SYN packet.

At block 1204, the access point 106 completes an initialization phase of the session, according to the particular protocol used for the session. Where the protocol is TCP for example, the initialization phase may include conducting a three-way handshake with the client device 102.

At block 1206, the access point 106 receives a data packet from the client device 102 within the session. For example, the packet may be a payload packet within a TCP session.

At block 1208, the access point 106 encapsulates the data packet, for transmission to the manager 212 via a network tunnel. The access point 106 further includes in the encapsulated packet (e.g., as a header information for the encapsulated packet) session context for the communication session, such as a TCP five-tuple and sequence numbers. The access point 106 then, at block 1210, sends the packet to the handoff manager 212 as a handoff request for the communication session.

At block 1212, the handoff manager 212 receives the encapsulated packet, and at block 1214, constructs within its local data a communication session, based on the context information from the access point 106. The manager 212 thus adopts the session, enabling subsequent communications within the session between the client device 102 and the manager 212. At block 1216, the handoff manager 212 decapsulates the data packet of the client device 102, and processes the packet within the session. For example, the manager 212 may select and endpoint 202 to handle the request, and transmit the content of the data packet to the endpoint 202 via another communication session. The routine 1200 then ends at block 1218. Thus, the client device 102 and the manager 212 may communicate via the stateful session, with requiring the client device 102 and the manager 21 to communicate to establish the session.

The routine 1200 may include additional or alternative blocks than those descried above. For example, prior to sending an encapsulated packet as a handoff request at block 1210, the access point 106 may select a data center to receive the handoff request, in a manner similar to selection of a data center discussed in FIG. 9. Moreover, while the routine 1200 is depicted as ending subsequent to block 1216, the access point 106 and manager 212 may continue to operate to facilitate communications of or to a client device 120 within the session, as discussed above. Thus, the number and arrangement of blocks in FIG. 12 is illustrative in nature.

Providing Redundant Route Control within a Global Access Point

As discussed above, a global access point 106 may incorporate redundant elements to increase resiliency of the access point 106 to failures. For example, an access point 106 may be implemented across multiple host computing devices. In some instances, however, simple redundancy may lead to undesirable operation of the access point 106. For example, as discussed above, it is generally desirable that all data packets within a given flow be routed to the same flow manager 304 (e.g., to enable consistent NAT translation). One mechanism for ensuring consistent routing is to provide a single route controller that determines which flow manager 304 should receive a given traffic flow. However, failure of that route controller would then result in failure of the access point 106. To address this, an access point 106 may include multiple route controllers, each of which is configured to determine routing of packets to flow managers 304. However, in an instance where route controllers do not have a consistent view of the status of flow managers 304 (which may be especially likely in failure scenarios), multiple route controllers may assign different flow managers 304 to a given network address range, resulting in a potential “scrambling” of flows addressed to that range.

To address this issue, embodiments of the present disclosure can include multiple route controllers, while implementing consistence techniques to ensure that route decisions by a single controller (generally referred to as the “lead” controller) are implemented at the access point 106. Because only a single set of routes is implemented at a given time, the scrambling of flows caused due to inconsistent routing decisions can be avoided. Moreover, as will be described in detail below, the consistence techniques implemented by the route controllers may provide simplified priority determinations between routes, such that routes of a designated lead controller are adopted within the global access point 106, even if another (e.g., failed) route controller attempts to implemented inconsistent routes. Thus, embodiments described herein can enable efficient and non-conflicting implementation of route controllers within a global access point 106.

FIG. 13 depicts an embodiment of a global access point 106 utilizing redundant route controllers 1302 to assign flow managers 304 to global network addresses, and control routing of data packets to flow managers 304 according to those assignments. More specifically, in FIG. 13, the functionality of the global access point 106 is distributed among a number of host devices 1306A-N, each in communication with the router 302 (e.g., via a direct cable connection, internal network, or the like). Each host device 1306 may correspond, for example, to an access point server 402 of FIG. 4, configured to implement one or more flow managers 304, a health check unit 306, and a configuration manager 308, each of which is described in more detail above. In addition, each host device 1306 implements a route controller 1302 (e.g., as a unit within memory 480 of the server 402). Generally described, each route controller 1302 can be responsible for determining an assignment of specific network addresses to a flow manager 304. For example, as discussed above, global network addresses serviced by an access point 106 may be divided into pools (e.g., a given range of addresses), and pools may be further divided into subsets. Thus, each subset of each pool can be assigned to one or more flow managers 304, such that the flow managers 304 handle processor of packets addressed to the subsets to which they are assigned. In one embodiment, each route controller 1302 utilizes load balancing to assign of subsets network addresses to flow managers 304. The load balancing may attempt, for example, to distribute network addresses to flow managers 304 based on a number of network addresses each flow manager 304 handles, a volume of packets addressed to such addresses, an amount of data within that volume of packets (e.g., aggregate data carried by the packets), or the like.

In one embodiment, each flow manager 304 is associated with a particular network address of the access point 106 (e.g., an internal network address). Thus, the assignment of global network addresses to flow managers 304 may take the form of a mapping between global network addresses and network addresses of flow managers 304. For example, where an address range of 192.0.2.0/24 is assigned to four flow managers 304 of addresses 10.0.0.1 through 10.0.0.4, a route controller 1302 may generate a mapping indicating that a “next hop” for packets addressed to addresses in the range of 192.0.2.0/24 can be addressed to one of addresses 10.0.0.1-4. This mapping may be provided by the route controller 1302 to the router 302, enabling the router 302 to use ECMP routing techniques to route packets to one of the four assigned flow managers 304. To provide redundancy of operation, each route controller 1302 may operate across all flow managers 304, including those on other host devices 1306. Thus, operation of the access point 106 can be expected even if n−1 route controllers 1302 fail.

In another embodiment, each set of network addresses (e.g., each subset of each pool) may be pre-configured to be associated with a particular group of flow managers 304. The flow managers 304 associated with each set may be distributed across host devices 1306, to provide resiliency of operation of the access point 106 in case of failure of a host device 1306. In such an embodiment, router controllers 1302 may operate to distribute responsibility for routing packets addressed to network addresses within a set of addresses to flow managers 304 associated with that set. For example, where eight flow managers 304 are assigned responsibility for network addresses in the range of 192.0.2.0/24, a route controller 1302 may assigned the 192.0.2.1 address to a first flow manager 304, the 192.0.2.2 address to a second flow manager 304, etc. The route controller 1302 may utilize health check data of the flow managers 304 to assist in the assignments (e.g., to avoid assignments to non-functioning managers 304, reduce load on heavily loaded managers 304, etc.). Any number of load balancing techniques, a variety of which are known in the art, may be used to assign network addresses to flow managers 304.

Because the access point 106 can be configured to operate resiliently, it may be expected that, during operation of the access point 106, one or more flow managers 304 may fail. Accordingly, to maintain appropriate load balancing, it may be necessary to vary the assignments of global network addresses to flow managers 304. If the route controllers 1302 are configured to operate redundantly and independently, different route controllers 1302 might vary those assignments in different ways. Each may transmit their respective assignments to the router 302, leading to conflicting information at the router 302, each set of which appears to be equally valid from the perspective of the router 302 (given the equal nature of route controllers 1302 within the access point 106). While mechanisms for handling this conflicting information may vary, it is generally undesirable for the router 302 to receive such conflicting information. For example, where the router 302 is configured to merge conflicting information (e.g., through a union operation, which is common in handling BGP communications, which the router 302 and route controllers 1302 may use for communications), load balancing among flow managers 304 may be effected, since a greater-than-expected number of flow managers 304 would be assigned from the viewpoint of the router 302 to a given range of network addresses.

One attempt to address this issue may be to ensure that each route controller 1302 operates in lockstep. However, lockstep operation is difficult in practice within distributed systems. For example, even where each route controller 1302 implemented the same deterministic load balancing algorithm, there is little guarantee that the route controllers 1302 would consistently maintain an equal view of the access point 106. For example, a network fault between a first route controller 1302 and a given flow manager 304 may cause the first route controller 1302 to consider that flow manager 304 as having failed. However, the lack of such a fault between the flow manager 304 and a second route controller 1302 may cause the second controller 1302 to consider the manager 304 as operational. These diverging views of the access point 106 would lead to different load balancing among managers 304, even if both controllers 1302 implemented a consistent algorithm. While explicit communication between route controllers 1302 may also address this issue, such communication would generally add significant overhead within the access point 106, requiring significant time to arrive at a generally agreed on “state of the world” that would result in non-divergent mappings.

Another mechanism for handling conflicting information may be to assign priority to mappings generated at a route controller 1302, such that when inconsistent information is received at the router 302, the router 302 selects mappings with a highest priority. However, consistently assigning priority among route controllers 1302 can lead to failures if a highest-priority controller 1302 fails. Allowing route controllers 1302 to independently assign priority may lead to a “race” condition, whereby two or more route controllers 1302 attempt to gain priority, leading to an undesirably high rate of change in routing at the router 302.

The above-noted problems are overcome by embodiments of the present disclosure, including the use of a leader-election protocol to assign a single route controller 1302 as a lead controller 1302, such that the route assignments determined by the lead controller 1302 are propagated to the router 302 from all route controllers 1302, such that one route controller 1302 is designated lead controller 1302 at a given time, and such that the routes of the designated lead controller 1302 are given priority of routes of other controllers 1302 (including previous lead controllers 1302).

As will be discussed below in more detail, embodiments of the present disclosure can utilize a strongly consistent data store 1304 to facilitate designation of a lead controller 1302. Strong consistency is a known concept in distributed data stores, which generally indicates that all reads to a data object are provided with a most up-to-date version of that data object, even when the reads occur at different nodes within the distributed system. Thus, after successfully writing a data object to a strongly consistent data store, a read of the data object is guaranteed to return the written data object, and not an older version of the data object. Strong consistency is in contrast to eventual consistency, in which writes to a data object may require time to propagate through a distributed system. Various examples of strongly consistent data stores are known in the art, and thus the details of operation of such a store will not be discussed herein. One example of a consistent data store 1304 is AMAZON's DynamoDB database service. In FIG. 13, the consistent data store 1304 is shown separately from host devices 1306A-N for simplicity. However, the consistent data store 1304 may be implemented in a distributed manner among the host devices 1306. Thus, depiction of the data store 1304 in FIG. 13 is intended to reflect a logical, rather than physical, position. Additionally or alternatively, the consistent data store 1304 may be implemented at a data center 110 or across multiple data centers 110, and host devices 1306 may communicate with the data store 1304 via a network (e.g., network 108). While embodiments of the present disclosure are described under the assumption that the consistent data store 1304 is a distributed data store, the consistent data store 1304 may in some embodiments be a single or centralized data store, such as a network access storage (NAS) system. Centralized data stores generally provided strong consistency, but may also be associated with higher potential failure rates than distributed systems.

In accordance with embodiments of the present disclosure, each route controller 1302 may operate to determine a lead controller 1302 based on a route data record in the consistent data store 1304. Specifically, each controller 1302 can be configured to determine whether the route data record in the store 1304 is valid (e.g., based on an expiration time for the record), and if so, to “adopt” the routes identified in the route data record and to report those routes to the router 302. However, if the route data record in the store 1304 is invalid, the route controller 1302 can be configured to attempt to write a new data record to the store 1304, containing routes determined by that route controller 1302 and identifying the route controller 1302 as a new lead controller. Because each route controller 1302 can be configured in this manner, it is possible that multiple route controllers 1302 may thus attempt to become the lead controller at the same time. To address these, writes to the store 1304 by controllers 1302 can be conditional, such that the writes only occur if the data record has not changed since the invalid record was detected. In combination, the use of a strongly consistent data store 1304 and conditional writes to update a route data record can ensure that only a single route controller 1302 becomes a lead controller 1302. Moreover, because each controller 1302 reports only the lead controllers 1302 routes to the router 302, the router 302 is provided with consistent information.

In addition, to ensure priority is given by the router 302 to a most recent set of routes by a lead controller 1302, the controllers can be configured to utilize sequential priority values for the route data record, such that a priority value is incremented (or decremented) each time leadership changes among the route controllers 1302. The router 302 can be configured to accept the priority value, such that routes with more priority are adopted by the router 302, and routes with less priority are discarded. As noted above, in some instances the route controllers 1302 and router 302 communicate via the BGP protocol. Accordingly, priority can be assigned based on varying attributes of BGP messages used to announce routes, such as the “multi-exit discriminator” or “MED” value of BGP messages. MED values of BGP messages are known in the art, and generally indicate a priority value enabling a router to distinguish the relative priority of two otherwise similar routes. Priority is given to lower MED values, such that when two routes are otherwise equal, the route with a lower MED value is selected by a router. Thus, in embodiments of the present disclosure, each change in a lead controller 1302 may cause the new lead controller 1302 to decrement a MED value for routes within the route data record, ensuring that those routes are enforced at the router 302 over prior routes. For simplicity, the present description will discuss “higher” priority routes as having priority over “lower” priority routes. However, in instances such as MED values (where lower values are preferred), it should be understood that a lower MED value can represent a “higher” priority value.

FIG. 14 depicts illustrative interactions for utilizing the consistent data store 1304 to implement designated routes among multiple route controllers 1302 within a global access point 106. The interactions of FIG. 14 are described with reference to individual host devices 1306, which may implement the functionalities described therein by operation of a route controller 1302 on each host device 1306, along with other elements of that device 1306 (e.g., a health check unit 306). The interactions of FIG. 14 assume, for ease of description, that a single host device 1306A includes a route controller 1302 that has been previously designated as lead controller. Illustrative interactions for assigning that lead controller will be described below with reference to FIG. 15.

The interactions of FIG. 14 begin at (1), where the host device 1306A including the lead controller 1302 conducts health checks on across the host devices 1306A-N (e.g., to flow managers 304 of each host device 1306). Transmission of health check data may occur similarly to as described above, for example, with reference to the health check unit 306 of FIG. 2. Illustratively, health checks can inform the host device 1306A of which flow managers 304 are operating properly within the access point 106.

At (2), the host device 1306A generates designated routes, assigning global network addresses to individual flow managers 304 among the host devices 1306. As discussed above, any number of load balancing criteria may be used to divide assignments of the global network addresses among the flow managers 304, such as load balancing a total number of addresses, load balancing a number of packets, packet data volume, etc. In one embodiment, the host device 1306A assigns global network addresses at the level of subsets of addresses, within a given pool. Thus, each subset of addresses of each pool of addresses may be assigned to one or more flow managers 304, in a manner that distributes traffic to the global network addresses among the managers 304. As noted above, the designated routes generated by the host device 1306A be represented as mappings of global network addresses to network addresses of flow managers 304 assigned to those global network addresses.

As discussed above, generated routes can be associated with a priority value, indicating their higher priority relative to past routes. Thus, at interaction (2), the host device 1306A may further assign a priority value to the generated routes. In one embodiment, a priority value is determined at the time of the route controller 1302 of the host device assuming leadership, which value is valid for the term of that leadership. Assumption of leadership and mechanisms for assigning priority values is discussed in more detail in FIG. 15, below.

At (3), the host device 1306A conditionally writes the designated routes to the consistent data store 1304 as the route data record. Generally described, the term “conditional write” refers to a write operation that occurs if (and only if) a prerequisite is met. Conditional writes are generally treated as “atomic,” such that it is not possible to change the value of the prerequisite during the conditional write. In accordance with embodiments of the present disclosure, the conditional write request of the host device 1306A may be conditional on an identifier of the lead controller 1302 within the route data record matching an identifier of the controller 1302 within the host device 1306A. Thus, the routes generated by the host device 1306A will be written to the consistent data store 1304 only if the controller 1302 of the host device 1306A is identified as the lead controller within the route data record. In the instance that such a conditional write failed, the host device 1306A would not include the lead controller 1302, and thus would include a follower controller 1302. Any number of identifiers may be used to identify a controller 1302 as lead within the route data record. For example, where each route controller 1302 of a host device 1306 is associated with an IPv4 network address, the final octet of that address may be used as an identifier of the controller 1302. Thus, the data written to the route data record may include the routes generated by the host device 1306 (including priority values for such routes) and an identifier of the host device 1306 or controller 1302 within that device 1306. The data written may further include a timestamp or other “staleness” value, enabling other controllers 1302 to determine the validity of the record.

In some instances, additional routing information may be included within the route data record. For example, as discussed above, a router 302 may in some instances be configured to announce different groups of network addresses to different border networks, thus “steering” traffic to the access point 106. In some instances, the specific announcements made by the router 302 may also be determined by a route controller 1302, and these announcements may be indicated within the route data record.

For the purposes of the present disclosure, it is assumed that the write of interaction (3) succeeds. After verifying that success (such as by receiving an indication of success from the data store 1304 or reading the route data record and verifying it matches what was written), the host device 1306A announces the designated routes to the router 302. The router 302 is thus provided with and may implement the designated routes.

As discussed above, it may be advantageous for the router 302 to receive routes from multiple route controllers 1302, provided such routes are consistent. For example, in some instances the router 302 may consider routes from a given route controller 1302 to be valid only for the duration of a communication session (e.g., BGP session) between the router 302 and that route controller 1302. Thus, should the route controller 1302 of host device 1306A fail, the routes announced at interaction (4) may be discarded by the router 302, despite those routes still potentially being valid (as the routes may point to flow managers 304, not the failed controller 1302). As such, in addition to the lead controller 1302 announcing routes, the controllers 1302 of the other host devices 1306B-N can also be configured to announce the designated routes to the router 302.

Accordingly, at (5), each follower route controller 1302 of host devices 1306B-N reads the route data record from the consistent data store 1304. To prevent announcement of invalid data, each follower route controller 1302 of host devices 1306B-N further validates the route data record, at (6). Validation may include, for example, validating that the record is not “stale” by verifying that the record has been written to or confirmed as valid in the store 1304 within a past threshold amount of time (e.g., 1 second, 5 seconds, 30 seconds, 1 minute, etc.). If the record is not valid, each controller 1302 of each host device 1306B-N may attempt to become the lead controller 1302, as described below in FIG. 15. However, for purposes of FIG. 14, it is assumed that the routes are valid, and thus, at (7), each host device 1306B-N announces the designated routes of the route data record to the router 302. Thus, by implementation of the interactions of FIG. 14, the router 302 obtains multiple, redundant, and consistent announcements of the designated routes generated at host device 1306A.

In some instances, it may not be desirable for the router 302 to receive duplicative routes with a common priority value from multiple host devices 1306. To address this, in some embodiments, route controllers 1302 of follower host devices 1306 may modify a priority value of designated routes (e.g., as read from a valid route data record) before announcing the routes (e.g., in interaction (7), above). In one embodiment, each follower host device 1306 sets the priority value for designated routes to a predetermined value unique to the follower host device 1306 and selected to be of a lower priority than a range of priority values used by a lead route controller 1302 in a lead host device 1306. For example, an initial priority value for a route data record in the data store 1304 (e.g., as established at initialization of the access point 106) may be set to n, and each designation of a new lead route controller 1302 may increase the priority value (e.g., by one). In this configuration, each follower host device 1306 may modify designated routes to have a priority value of n-m, where m is a fixed value unique to the host device 1306. In one embodiment, m is set based on the network address of the device 1306, such as by being set as equal to a last number of bits of the network address (e.g., the last octet of an IPv4 address). Thus, the routes announced by a follower host device 1306 may be automatically considered of lower priority than any route announced by a lead host device 1306. In instances where MED values are used for priority, it should be noted that the direction of the above changes would be reversed, as lower MED values are generally considered higher priority than higher MED values. Thus, a lead device 1306 may decrement a MED value from some initial number n, and each follower device 1306 may announce designated routes with a MED value of n+m.

FIG. 15 depicts illustrative interactions for handling failure of a designated route controller 1302 within a global access point 106 configured according to the embodiment of FIG. 13. Failures of route controllers 1302 may occur for a variety of reasons, such as mechanical or software failure of a host device 1306. To ensure continued operation of a global access point 106, it is generally desirable that failure of a route controller 1302 or host device 1306, or even multiple controllers 1302 or host devices 1306, do not halt or substantially impact operations of the access point 106.

As noted above, a global access point 106 may include multiple route controllers 1302, of which one at any given time is designated as a leader. Because the lead controllers 1302 routes are what is propagated to the router 302, failure of a follower controller 1302 is unlikely to substantially effect operation of the access point 106. Rather, once the failure of a follower controller 1302 is detected (e.g., by a monitoring process on a host device 1306, such as a health check unit 306) the follower controller 1302 can be repaired (e.g., by halting and restarting the process) and proceed to resume its follower status. Even if the follower controller 1302 cannot be repaired, the lead and other follower controllers 1302 can continue to operate, allowing the access point 106 to continue functioning.

However, where a lead controller 1302 fails, another controller 1302 (e.g., previously a follower) can be configured to become the lead controller 1302, thus enabling operation of the access point 106 to continue. As such, the interactions of FIG. 15 assume that a failure occurs at the controller 1302 of host device 1306A, which has been previously designated lead controller 1302. Due to that failure, the controller 1302 of host device 1306A, that controller 1302 fails to write to the route data record of the consistent data store 1304 (e.g., by failing to write generated routes, failing to update a timestamp indicating the prior routes are up-to-date, etc.). Thus, when the controllers 1302 of other host devices 1306B-N read the route data record at (3), those controllers 1302 detect that the route data record is invalid, as shown at interaction (4). Illustratively, invalidity may be determined based on a timestamp value of the record falling outside of a threshold prior period to a current time (e.g., the timestamp is “stale”).

On detecting an invalid route data record, each controller 1302 of each host device 1306B-N in FIG. 15 is configured to attempt to become the lead controller 1302. As such, at (5), each of those controllers 1302 attempts to write a new route data record to the consistent data store 1304. The new route data record may be generated by each of these controllers 1302 in a manner similar to how a lead controller 1302 would generate the record, discussed above with respect to FIG. 14. However, in the instance that a non-lead controller 1302 attempts to write to the consistent data store 1304, that non-lead controller 1302 can be configured to increment a priority value of routes within the route data record, such that the routes, when announced, override routes of the prior lead controller 1302. For example, each route controller 1302 of the host devices 1306B-N may decrement a MED value of routes within the invalid route data record by one, and include the resultant MED value within the routes of the new data record. Thus, the routes of the new data record, if announced to the router 302, can be expected to override routes of the old data record.

Because each controller 1302 of each host device 1306B-N may attempt to write a new route data record, and because it can be desirable to have one and only one controller 1302 designated as leader. As such, the writes of each controller 1302 in FIG. 15 are made conditional, such that one and only one write succeeds on the data store 1304. In one embodiment, the writes are conditional on an identifier of the past lead controller 1302, as indicated within the invalid route data record. Specifically, each controller 1302 may instruct the data store 1304 to update the route data record, but only if the route data record in the data store 1304, at the time of that write, contains an identifier of the past lead controller 1302. Thus, if a new controller 1302 has already been designated, the conditional write may fail. While an identifier of a past lead controller 1302 is used herein as an illustrative write condition, other write conditions are possible. In general, a route condition could be created from any field of the invalid data record, to ensure a new data record is written only if the invalid data record has not yet been updated in the data store 1304. Thus, for example, priority value field of the data record in the store 1304 could be used as a write condition, such that the record is written in the data store 1304 only if the priority value field has not changed since the invalid data record was read by a controller 1302 attempting to write to the data record in the store 1304. Similarly, a timestamp field of the data record could be used as a write condition. In some instances, route controllers 1302 may be associated with a configuration identifier, indicating a configuration of the controller 1302 (e.g., based on an identifier of the configuration package used to configure the controller 1302). As yet another possible write condition, a data record may indicate a configuration identifier of a controller 1302 when the record was generated, and a route controller 1302 may condition a write to the data record based on the configuration identifier of the route controller 1302 equaling or exceeding the configuration identifier in the data record.

Because each write by the controllers 1302 of host devices 1306B-N is conditional on the route data record not having been updated such that another controller 1302 has already become leader, one and only one update to the route data record can be expected to succeed. Thus, one and only one of the route controllers 1302 of the host devices 1306B-N is expected to become the designated leader. To determine the designated leader, each route controller 1302 (including, e.g., a controller 1302 of the host device 1306A if now operational) thus reads the route data record from the data store 1304, and inspects an identifier field within the route data record to determine an identity of the lead controller 1302. Thus, a single controller 1302 among host devices A-N is designated, and operation of the access point 106 may continue based on announcements of routes determined by the lead controller 1302.

While the interactions of FIG. 15 are illustratively depicted with respect to an unplanned failure, similar interactions may be utilized for planned outages of a route controller 1302, such as during a hardware or software upgrade of a host device 1306. Moreover, the interactions of FIG. 15 may be utilized to “bootstrap” operation of the access point 106, such as during initial startup of the access point 106. Specifically, by writing an invalid route data record the consistent data store 1304 (e.g., with known invalid fields), the interactions of FIG. 15 can be initiated, thus ensuring an initial lead controller 1302 is designated.

FIG. 16 depicts an illustrative routine 1600 for operation of a lead route controller. The routine 1600 may be implemented, for example, by a controller 1302 within a global access point 106 configured according to the embodiment FIG. 13, when the controller 1302 believes itself to be the lead controller 1302 (e.g., based on an identifier of the controller 1302 being present in a last known copy of a route data record within a consistent data store).

The routine 1600 begins at block 1602, wherein the controller 1302 obtains health check data for flow managers 304 within the access point 106. The health check data may be obtained, for example, from a health check unit 306 within a host device 1306 including the controller 1302. The health check data may reflect, for example, a health status of each flow manager 304.

At block 1604, the controller 1302 determines routes within the access point 106, and specifically, determines which flow managers 304 are to handle network traffic addressed to which global network addresses associated with the access point 106. As discussed above, any number of load balancing criteria may be used to divide assignments of the global network addresses among the flow managers 304, such as load balancing a total number of addresses, load balancing a number of packets, packet data volume, etc. In one embodiment, the route controller 1302 assigns global network addresses at the level of subsets of addresses, within a given pool. Thus, each subset of addresses of each pool of addresses may be assigned to one or more flow managers 304, in a manner that distributes traffic to the global network addresses among the managers 304. As noted above, the designated routes generated by the route controller 1302 be represented as mappings of global network addresses to network addresses of flow managers 304 assigned to those global network addresses. Each route may be assigned a priority value by the lead controller 1302, established at the time the controller 1302 became lead (e.g., as one higher priority than a priority of routes within a prior route data record).

At block 1606, the controller 1302 conditionally writes the determined routes to a route data record in a consistent data store. In one embodiment, the conditional write request is conditional on an identifier of a lead controller 1302 within the route data record matching an identifier of the controller 1302 implementing the routine 1600. Thus, the write will succeed only if the controller 1302 is identified as the lead controller within the route data record. In addition to the determined routes, the data written to the record can include an identifier of the controller 1302 (or a host device 1306 including the controller 1302), and a timestamp or other “staleness” value, enabling other controllers 1302 to determine the validity of the record.

While timestamps are discussed herein as an example staleness value, other values are possible. For example, where highly accurate or short time periods are desired for staleness, timestamps may be inappropriate, given the difficulty of synchronizing time values in distributed systems. As an alternative, controllers 1302 may for example use a “heartbeat” value, such as a value that a lead controller 1302 is configured to increment with each write to the data store 1304. The periodicity of writes to the data store 1304 by the lead controller 1302 and the follower controllers 1302 may be set such that between two reads by the same follower controller 1302, at least n writes to the record by the lead controller 1302 are expected to occur. Thus, when a follower controller 1302 does not detect that a heartbeat value has incremented by at least n between two successive reads, the follower controller 1302 may determine that the record is invalid. In some embodiments, the consistent data store 1304 may provide functionalities that negate the requirement for a timestamp. For example, the consistent data store 1304 may provide for write “sessions,” such that the store 1304 maintains a record of whether a controller 1302 is successfully communicating with the store 1304. In such an embodiment, other controllers 1302 may determine that a record is invalid when the lead controller's 1302 session with the store 1304 ends, or has ended for a threshold period. Thus, the record may not be required to explicitly include a timestamp or other staleness value.

At block 1607, the lead controller 1302 obtains the route data record from the data store 1304 by reading the record. As the record was previously written by the lead controllers 1302, and as controllers 1302 designated as followers are not expected to write to the record, it may be expected that the record obtained at block 1607 matches what was written at block 1606. However, if a failure has occurred at the lead controller 1302, this may not be true, as another controller 1302 may have become the lead controller 1302 by writing to the data store. As such, implementation of the routine 1600 varies at block 1608, based on whether the read route data record identifies the controller 1302 implementing the routine 1600 as the lead controller 1302 (e.g., based on the presence of an identifier of the controller 1302 in the route data record). If the route data record does not identify the controller 1302 implementing the routine 1600 as the lead controller 1302, the routine 1600 proceeds to block 1700, representing the follower controller routine 1700 of FIG. 17, discussed in detail below.

If the route data record does identify the controller 1302 implementing the routine 1600 as the lead controller 1302, the routine 1600 proceeds to block 1612, where the controller 1302 announces the determined routes to a router 302 within the access point 106. The thus causing traffic to global network addresses to be routed to flow managers 304 as indicated within the determined routes. The routine 1600 then returns to block 1602, above. The routine 1600 may illustratively be implemented as a “infinite loop” so long as a controller 1302 believes itself to be the lead controller 1302.

While the routine 1600 includes a single block 1608 verifying that the controller 1302 is a lead controller 1302, multiple such verifications may be included. For example, a verification may be included prior to block 1602, and block 1612 may loop to that verification.

Should any such verification fail, the controller 1302 would then shift to routine 1700, depicted in FIG. 17. Specifically, the illustrative routine 1700 depicts operation of a follower route controller 1302 within a global access point 106 configured according to the embodiment of FIG. 13. The routine 1700 may be implemented at any time a controller 1302 does not believe itself to be the lead controller 1302. As such, the routine 1700 may be implemented on initialization of a controller 1302, or after a prior lead controller 1302 determines (e.g., via the routine 1600) that it is no longer designated as lead controller 1302.

The routine 1700 begins at block 1702, where the follower route controller 1302 obtains a route data record from a consistent data store 1304. Thereafter, the routine 1700 varies based on whether the route data record identifies the controller 1302 as the lead controller 1302 (an instance not expected to occur on first iteration of the routine 1700, but which may occur if the controller 1302 attempts to become the lead controller 1302, as discussed above). For the purposes of description, it will be assumed that block 1704, at least initially, evaluates as false. Thus, the routine 1700 proceeds to block 1706, where the controller 1302 determines whether the obtained route data record is valid. As discussed above, validity may be determined, for example, based on a staleness value within the record, such as a timestamp, heartbeat value, or the like. If the route data record is valid, the routine 1700 proceeds to block 1714, where the follower controller 1302 announces the routes within the route data record to a router 302 of the access point 106. The routine 1700 then returns to block 1702, and proceeds as discussed above. Thus, so long as the consistent data store 1304 contains a valid record written by a lead controller 1302, each follower controller 1302 may announce the routes of the lead controller 1302 to the router 302.

However, in the instance the route data record is not determined valid at block 1706, the routine 1700 proceeds to blocks 1708-1712, where the follower controller 1302 attempts to become the lead controller 1302. Blocks 1708 through 1712 are generally similar in implementation to blocks 1602 through 1606, discussed above with reference to FIG. 16, and thus will not be re-described in detail. However, in contrast to blocks 1602 through 1606, a follower controller 1302 attempting to become lead controller 1302 may modify values within the route data record to effect leadership. For example, the follower controller 1302 may write its own identifier into the data record, and write routes with a priority value with a priority higher than a value included in the invalid data record. Illustratively, the follower controller 1302 may decrement a MED value for each determined route within the route data record it attempts to write. Moreover, the follower controller 1302 may condition the write of the route data record based on the prior lead controller 1302 (as identified in the invalid data record) still being identified in the consistent data store 1304 as the lead controller 1302. Thus, if multiple implementations of routine 1700 attempt to write a new route data record to the store 1304 at a given time, only a single implementation of routine 1700 is expected to succeed in that write. As a result, only a single controller 1302 is expected to successfully obtain leadership status.

After block 1712, the routine 1700 then returns to block 1702, where the controller 1302 again obtains the route data record from the data store. If the controller 1302 was successful in writing the route data record, block 1704 evaluates as true, and the controller 1302 proceeds to implement routine 1600 of FIG. 16 as the lead controller 1302. (In some embodiments, the controller 1302 may enter the routine 1600 at a block other than block 1602. For example, a controller 1302 that has become the lead controller 1302 may enter the routine 1600 at block 1612.) If the controller 1302 did not succeed in writing to the route data record, the controller 1302 remains a follower controller 1302, and the routine 1700 proceeds to block 1706, as discussed above. A controller 1302 may continue to implement the routine 1700 during its operation as a follower controller 1302.

While the routines 1600 and 1700 are described with respect to generation of routing information that designates how to route packets addressed to global network addresses to flow managers 304 within an access point 106, these routines may be implemented by in a variety of contexts that utilize distributed route controllers to control routing information for routing incoming packets to a set of distributed packet processors. Thus, the examples provided in the routines are intended to be illustrative in nature.

All of the methods and processes described above may be embodied in, and fully automated via, software code modules executed by one or more general purpose computers or processors. The code modules may be stored in any type of non-transitory computer-readable medium or other computer storage device. Some or all of the methods may alternatively be embodied in specialized computer hardware.

Conditional language such as, among others, “can,” “could,” “might” or “may,” unless specifically stated otherwise, are otherwise understood within the context as used in general to present that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Thus, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment.

Disjunctive language such as the phrase “at least one of X, Y or Z,” unless specifically stated otherwise, is otherwise understood with the context as used in general to present that an item, term, etc., may be either X, Y or Z, or any combination thereof (e.g., X, Y and/or Z). Thus, such disjunctive language is not generally intended to, and should not, imply that certain embodiments require at least one of X, at least one of Y or at least one of Z to each be present.

Unless otherwise explicitly stated, articles such as ‘a’ or ‘an’ should generally be interpreted to include one or more described items. Accordingly, phrases such as “a device configured to” are intended to include one or more recited devices. Such one or more recited devices can also be collectively configured to carry out the stated recitations. For example, “a processor configured to carry out recitations A, B and C” can include a first processor configured to carry out recitation A working in conjunction with a second processor configured to carry out recitations B and C.

Any routine descriptions, elements or blocks in the flow diagrams described herein and/or depicted in the attached figures should be understood as potentially representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or elements in the routine. Alternate implementations are included within the scope of the embodiments described herein in which elements or functions may be deleted, or executed out of order from that shown or discussed, including substantially synchronously or in reverse order, depending on the functionality involved as would be understood by those skilled in the art.

It should be emphasized that many variations and modifications may be made to the above-described embodiments, the elements of which are to be understood as being among other acceptable examples. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims. 

What is claimed is:
 1. A access point system comprising: a router device configured to receive routing information instructing the router device on how to route data packets obtained on a network to a plurality of flow managers within the access point system; and one or more processors configured to implement the plurality of flow managers; wherein the one or more processors are further configured to implement a plurality of route controllers redundantly transmitting the routing information to the router device, wherein an individual route controller is configured to: read a route data record from a strongly consistent data store, the route data record corresponding to a record designated for storage of the routing information and for a designation of a lead route controller within the access point; and determine from the route data record whether the individual route controller is designated as the lead route controller; wherein when the individual route controller is designated as the lead route controller within the access point, the individual route controller is configured to: generate the routing information based at least in part on health check data regarding a health of the plurality of flow managers; conditionally update the route data record in the strongly consistent data store only if the route data record, prior to the update, designates the individual route controller as the lead route controller, wherein the update includes the routing information and designates the individual route controller as the lead route controller; and transmit the routing information to the router device; and wherein when another route controller is designated as the lead route controller within the access point, the individual route controller is configured to: if the route data record is valid, transmit the routing information to the router device; and if the route data record is not valid: generate new routing information based at least in part on health check data regarding the health of the plurality of flow managers, the new routing information having a priority higher than past routing information within the route data record, and conditionally update the route data record in the strongly consistent data store only if the route data record, prior to the write, designates the other route controller as the lead route controller, wherein the update includes the new routing information and designates the individual route controller as the lead route controller.
 2. The access point system of claim 1, wherein the routing information is transmitted to the router device within a border gateway protocol (BGP) session.
 3. The access point system of claim 1, wherein the routing information represents BGP information, and wherein the priority is indicated by a multi-exit discriminator (MED) value within the BGP information.
 4. The access point system of claim 1, wherein the routing information further instructs the router device on how to announce an availability of the access point system to route data packets addressed to network addresses.
 5. The access point system of claim 1, wherein a validity of the route data record is determined based at least partly by a field within the route data record indicating a recency of writing to the route data record.
 6. A method for announcing route information controlling routing of data packets within an access point, the method comprising, at a first route controller among a plurality of route controllers within the access point: conducting a read of a route data record from a strongly consistent data store, the route data record corresponding to a record designated for storage of the routing information and for a designation of a lead route controller within the access point; determining that the route data record is invalid and does not designate the first route controller as the lead route controller; generate new routing information based at least in part on health check data regarding a health of a plurality of packet processors within the access point, the new routing information having a priority higher than past routing information within the route data record; conditionally updating the route data record in the strongly consistent data store only if the route data record designates the other route controller as the lead route controller, wherein the update includes the new routing information and designates the first route controller as the lead route controller; conducting an additional read of the route data record from the strongly consistent data store; determining that the route data record obtained in response to the additional read includes the new routing information and designates the first route controller as the lead route controller; and transmitting the new routing information to a router device of the access point.
 7. The method of claim 6, wherein the strongly consistent data store is a distributed data storage system configured to guarantee consistency of reads of the route data record.
 8. The method of claim 6 further comprising periodically updating the route data record in the strongly consistent data store to indicate that the route data record remains valid.
 9. The method of claim 8, wherein periodically updating the route data record in the strongly consistent data store to indicate that the route data record remains valid comprising writing a heartbeat value to the route data record.
 10. The method of claim 9, wherein periodically updating the route data record in the strongly consistent data store to indicate that the route data record remains valid comprising periodically requesting conditional writes to the route data record only if the route data record, prior to an individual write, designates the route controller as the lead route controller.
 11. The method of claim 6, further comprising, at a second route controller among the plurality of route controllers: reading from the strongly consistent data store the route data record including the new routing information; determining that the route data record is valid and designates the first route controller as the lead route controller; and transmitting the new routing information to the router device of the access point.
 12. The method of claim 6, further comprising, at a second route controller among the plurality of route controllers: reading from the strongly consistent data store the route data record including the new routing information; determining that the route data record is invalid; generate routing information of the second route controller based at least in part on health check data regarding a health of the plurality of packet processors within the access point, the routing information of the second route controller having a priority higher than past routing information within the route data record; conditionally updating the route data record in the strongly consistent data store only if the route data record designates the first route controller as the lead route controller, wherein the update includes the new routing information and designates the second route controller as the lead route controller; conducting an additional read of the route data record from the strongly consistent data store; determining that the route data record obtained in response to the additional read includes the routing information of the second route controller and designates the second route controller as the lead route controller; and transmitting the routing information of the second route controller to the router device.
 13. Non-transitory computer-readable media comprising: first instructions executable by a computing system implementing an individual route controller among a plurality of route controllers in an access point system, wherein execution of the first instructions causes the individual route controller to: generate routing information based at least in part on health check data regarding a health of a plurality of packet processors within the access point, the routing information designating how to route data packets obtained on a network to the plurality of packet processors and having a specified priority value; and conditionally update a route data record in a strongly consistent data store with the routing information an indication of the individual route controller as a lead route controller only if the route data record designates a particular route controller as the lead route controller; and second instructions executable by the computing system implementing the individual route controller, wherein execution of the second instructions causes the individual route controller to: read information from the route data record on the strongly consistent data store; if the read information identifies the individual route controller as the lead route controller: transmit routing information read from the route data record to a router device on the access point system; and execute the first instructions with the individual route controller as the particular route controller and with a priority value obtained from the read information as the specified priority value; and if the read information identifies another route controller as the lead route controller: if the read information is valid, transmit routing information read from the route data record to a router device on the access point system, and if the read information is invalid, execute the first instructions with the other route controller as the particular route controller and with a new priority value as the specified priority value, the new priority value indicating a higher priority than the priority value obtained from the read information.
 14. The non-transitory computer-readable media of claim 13, wherein if the read information identifies another route controller as the lead route controller and the read information is valid, execution of the second instructions further causes the individual route controller to modify a priority value of the routing information read from the route data record prior to transmitting the routing information read from the route data record to the router device.
 15. The non-transitory computer-readable media of claim 14 further comprising third instructions executable by the computing system to initialize each route controller of the plurality of route controllers at least partly by executing the second instructions for each route controller.
 16. The non-transitory computer-readable media of claim 14, wherein execution of the first instructions causes the individual route controller to conditionally update the route data record in the strongly consistent data store with: the routing information; indication of the individual route controller as the lead route controller; and a heartbeat value indicating a validity of the route data record.
 17. The non-transitory computer-readable media of claim 14, wherein execution of the second instructions causes the individual route controller to determine a validity of the information read from the route data record includes a value indicating that the route data record has been written to by the other route controller within a threshold past period of time.
 18. The non-transitory computer-readable media of claim 14 further comprising third instructions executable by the computing system to repeatedly execute the second instructions with respect to each route controller of the plurality of route controllers.
 19. The non-transitory computer-readable media of claim 14, wherein the indication of the individual route controller as the lead route controller includes an identifier of the individual route controller, the identifier determined by the individual route controller based at least partly on a network address of the individual route controller.
 20. The non-transitory computer-readable media of claim 14, wherein the routing information further instructs the router device on how to announce an availability of the access point system to route data packets addressed to network addresses. 